AnnInfoFormat property (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

long AnnInfoFormat

Overview

Refer to Annotation Files

Remarks

(Document/Medical only) (Read only) This property is updated with the annotation file type. Possible values are:

Value

Meaning

ANN_FMT_NATIVE

[0x0000] LEAD text-based format for annotations. NOTE: This format is being replaced by ANNFMT_XML.

ANN_FMT_WMF

[0x0001] The Windows WMF format.

ANN_FMT_ENCODED

[0x0004] The LEAD binary format. This file size is smaller and is upward compatible. It also provides better security.

ANN_FMT_XML

[0x0005] The XML text format. This is LEAD’s new text based format which is upward-compatible. It should be used instead of ANN_FMT_NATIVE.

Use the AnnFileInfo method, the AnnFileInfoArray method or the AnnFileInfoMemory method to update this property.

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

AnnInfoVersion property, AnnInfoTotalPages property, AnnFileInfo method, AnnFileInfoArray method, AnnFileInfoMemory method

Topics

Annotations: Input and Output (Document/Medical only)