AnnCut method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short AnnCut(OLE_HANDLE hObject, short iFormat, BOOL fSelected, BOOL fEmpty);

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 fSelected parameters as follows:

  1. To copy the specified object, set hObject to that object and set fSelected to FALSE.

  2. To copy only selected objects in a container, set hObject to the container and set fSelected to TRUE.

  3. To copy all objects in a container, set hObject to the container and set fSelected to FALSE.

See Also

Elements:  AnnCopy method, AnnPaste method

Topics:  Annotations (Document/Medical only): Using the Clipboard