AnnCreateItem method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnCreateItem(HANNOBJECT hContainer, int nType, bool bVisible, HANNOBJECT &hObject);

Delphi Syntax

Function AnnCreateItem(hContainer: HANNOBJECT; nType: L_INT; bVisible: Boolean; var hObject: HANNOBJECT): L_INT;

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Creates an annotation object in a container.

You must use the AnnSet... methods to initialize the object after it is created.

See Also

Elements

AnnCreate method, AnnDefine method, AnnDestroy method, AnnGetVisible method, AnnInsert method, AnnSetAutoDefaults method, AnnSetSelected method, AnnSetVisible method, AnnRemove method, AnnInsert method, AnnGetContainer method, AnnGetTopContainer method, AnnGetItemHandle, AnnAddUserHandle method, AnnAdjustPoint method, AnnChangeUserHandle method, AnnConvert method, AnnDefine2 method, AnnDeleteUserHandle method, AnnEnumerateHandles method, AnnGetUserHandle method, AnnGetUserHandles method, AnnHitTestExt method, AnnRestrictCursor method, AnnEnumerate method, AnnCopy method, AnnPaste method, AnnPasteReady property

Topics

Annotations (Document/Medical only): Object Manipulation

 

Annotations (Document/Medical only): Implementing Automation

 

Annotations (Document/Medical only): Creating and Deleting Annotations

 

Displaying and Manipulating Annotation Objects