AnnCut method (Annotation Control)
Builder Syntax |
int AnnCut(HANNOBJECT hObject, int nFormat, bool bSelected, bool bEmpty); |
Delphi Syntax |
Function AnnCut(hObject: HANNOBJECT; nFormat: L_INT; bSelected: Boolean; bEmpty: Boolean): L_INT; |
Overview |
Refer to Implementing Annotations. |
Remarks
(Document/Medical only) Cuts the specified annotation objects to the Windows clipboard in either the native format or WMF format.
Use the WMF format only for copying for use in another application. LEADTOOLS reads annotations only in the native format.
Use the hObject and bSelected parameters as follows:
To copy the specified object, set hObject to that object and set fSelected to FALSE.
To copy only selected objects in a container, set hObject to the container and set bSelected to TRUE.
To copy all objects in a container, set hObject to the container and set bSelected to FALSE.
See Also