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