AnnCopy method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short AnnCopy(short iFormat, VARIANT_BOOL bSelected, VARIANT_BOOL bEmpty);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Copies 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.

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

AnnCut method, AnnPaste method, AnnPasteReady property

Topics

Annotations (Document/Medical only): Using the Clipboard

 

Displaying and Manipulating Annotation Objects

 

New Annotation Features of Version 14.5