AnnCreate method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short AnnCreate(short iType, VARIANT_BOOL bAutoInsert, VARIANT_BOOL bVisible);

Overview

Refer to Implementing Annotations.

Remarks

Creates an annotation object of the specified type.

If you set bAutoInsert to VARIANT_FALSE, the object is not inserted in any container. You must insert the object yourself, or destroy the object using AnnDestroy, to avoid memory leaks.

Read the AnnObject property after calling this method to get the handle to the new annotation object.

Note:

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

See Also

Elements

AnnDefine, AnnDestroy method, AnnGetVisible method, AnnInsert method, AnnSetAutoDefaults method, AnnSetSelected method, AnnSetVisible method, AnnObject property

Topics

Annotations (Document/Medical only): Object Manipulation

 

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

 

Annotations (Document/Medical only): Creating Custom Annotations

 

Displaying and Manipulating Annotation Objects