AnnCreate method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax OLE_HANDLE AnnCreate (short iType, BOOL bAutoInsert, BOOL bVisible);

Overview:  Refer to Implementing Annotations.

Remarks

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

If you set bAutoInsert to 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.

See Also

Elements:  AnnDefine, AnnDestroy method, AnnGetVisible method, AnnInsert method, AnnSetAutoDefaults method, AnnSetSelected method, AnnSetVisible method

Topics:  Annotations (Document/Medical only): Object Manipulation