AnnCreate method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

LEADTyp::L_HANDLE AnnCreate(int iType, bool bAutoInsert, bool bVisible);

Delphi Syntax

Function AnnCreate(iType: integer; bAutoInsert: Boolean; bVisible: Boolean): L_HANDLE;

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Creates an annotation object of the specified type.

If bAutoInsert is set to False, the object is not inserted in any container. The object must be inserted programmatically, or destroyed by using the AnnDestroy, to avoid memory leaks.

Note:

The user should not call this method during processing of the OnAnnCreate, OnAnnDestroy or OnAnnEnumerate events.

See Also

Elements

AnnDefine method, AnnDestroy method, AnnGetVisible method, AnnInsert method, AnnSetAutoDefaults method, AnnSetSelected method, AnnSetVisible method, AnnCreateItem method, AnnCut method, AnnGetContainer method, AnnGetTopContainer method, AnnInsert method, AnnRemove method

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