AnnCut method (Annotation Control)

C++ Builder example

Delphi example

 

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:

image\sqrblit.gif To copy the specified object, set hObject to that object and set fSelected to FALSE.

image\sqrblit.gif To copy only selected objects in a container, set hObject to the container and set bSelected to TRUE.

image\sqrblit.gif To copy all objects in a container, set hObject to the container and set bSelected to FALSE.

See Also

Elements

AnnCopy method, AnnPaste method, AnnPasteReady property, AnnInsert method, AnnRemove method, AnnDefine method, AnnDefine2 method, AnnCreate method, AnnCreateItem method, AnnDestroy method, AnnRemove method, AnnAddUserHandle method, AnnAdjustPoint method, AnnChangeUserHandle method, AnnConvert method, AnnDefine2 method, AnnDeleteUserHandle method, AnnEnumerateHandles method, AnnGetContainer method, AnnGetTopContainer method, AnnGetUserHandle method, AnnGetUserHandles method, AnnHitTestExt method, AnnRestrictCursor method

Topics

Annotations (Document/Medical only): Using the Clipboard

 

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

 

Displaying and Manipulating Annotation Objects