AnnCut method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnCut(long hObject, short iFormat, VARIANT_BOOL fSelected, VARIANT_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 XML, or WMF format.

Use the WMF format only for copying for use in another application.

Use the hObject and fSelected 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 fSelected to TRUE.

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

In version 14.5, the text based format ANN_FMT_XML is being introduced. It has many advantages over ANN_FMT_NATIVE and ANN_FMT_ENCODED including:

image\sqrblit.gif It is both forward- and backward-compatible.

image\sqrblit.gif It is human readable.

image\sqrblit.gif It can be easily modified using a standard text editor (i.e. notepad.exe).

image\sqrblit.gif It can be easily parsed using any standard XML parser.

image\sqrblit.gif It can be used with any of the growing number of utilities that work with XML.

For more information, refer to New Annotation Features of Version 14.5.

See Also

Elements

AnnCopy method, AnnPaste method, AnnPasteReady property

Topics

Annotations (Document/Medical only): Using the Clipboard

 

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

 

Displaying and Manipulating Annotation Objects

 

New Annotation Features of Version 14.5