L_AnnSetAutoContainer

#include "l_bitmap.h"

L_INT EXT_FUNCTION L_AnnSetAutoContainer(hObject, hContainer)

HANNOBJECT hObject;

/* handle to an annotation automation object */

HANNOBJECT hContainer;

/* handle to the container */

Specifies the container for the automation object. The automation object is used to implement default properties. This function is available in the Document/Medical Toolkits.

Parameter

Description

hObject

Handle to an annotation automation object.

hContainer

Handle to the container.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function associates the automation object with a root container without inserting the object into the container.

Required DLLs and Libraries

LTANN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Windows 95 / 98 / Me, Windows 2000 / XP.

See Also

Functions:

L_AnnCreate, L_AnnGetAutoContainer, L_AnnSetDpiX, L_AnnSetDpiY, L_AnnGetDpiX, L_AnnGetDpiY, L_AnnSetTool, L_AnnGetTool, L_AnnGetUserMode, L_AnnSetUserMode, L_AnnSetUndoDepth, L_AnnUndo, L_AnnSetAutoHilightPen, L_AnnSetAutoSnapCursor, L_AnnGetAutoSnapCursor

Topics:

Annotation Functions: Working with the Toolbar

 

Implementing Annotations

 

Automated User Interface for Annotations

 

Implementing an Automated Annotation Program

 

Altering Annotation Object Settings

Example

For an example, refer to Implementing an Automated Annotation Program.

For complete sample code, refer to the ANNOTATE example.