AnnCreate method (ILEADRasterAnnotation)
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