Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

ANNFILEINFO

Show in webframe

typedef struct tagANNFILEINFO
{
   L_UINT uStructSize;
   L_SSIZE_T nOffset;
   L_INT32 nVersion;
   L_UINT uFormat;
   L_INT32 nTotalPages;
   L_INT32 nReserved;
} ANNFILEINFO,* pANNFILEINFO;

The ANNFILEINFO structure contains information retrieved from a LEAD annotation file.

Member

Description

uStructSize

Size of the structure. This must be set before passing this structure to the LEAD functions.

nOffset

Position of the first byte to load. This must be set before passing this structure to the LEAD functions. Typically, this is set to 0.

nVersion

Version of the annotation file. If '13' is returned, this refers to version 13 or earlier.

uFormat

Flag that indicates the format of the annotation data in the file. Possible values are:

 

Value

Meaning

 

ANNFMT_EMF

Windows EMF format.

 

ANNFMT_NATIVE

LEAD text-based format for annotations.

 

ANNFMT_WMF

Windows WMF format.

 

ANNFMT_ENCODED

LEAD binary format. This file size is smaller and is upward compatible. It also provides better security.

 

ANNFMT_XML

XML text format. This is LEADs new text-based format which is upward-compatible.

nTotalPages

The total number of pages in the annotation file.

nTotalPages

The total number of pages in the annotation file.

nReserved

Reserved for future use.

Comments

The ANNFILEINFO structure is updated by the LAnnContainer::FileInfo, LAnnContainer::FileInfoMemory and LAnnContainer::FileInfoOffset functions with information about an annotation file. Before passing this structure to any of the LEAD functions, the nSize and nOffset fields must be filled.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.