FILEDOCOPTIONS

typedef struct _FILEDOCOPTIONS
{
   L_UINT uStructSize;
   L_INT nBitsPerPixel;
   L_UINT32 uFlags; // XLS_FLAGS_MULTIPAGE_SHEET
} FILEDOCOPTIONS, *pFILEDOCOPTIONS;

The FILEDOCOPTIONS structure provides information on loading Microsoft Word 2003 (DOC) files in LEADTOOLS.

Member

Description

uStructSize

Size of the structure. This must be set before passing this structure to the LEAD functions. Use the sizeof(FILEDOCOPTIONS) macro to calculate this value.

nBitsPerPixel

Resulting bitmap pixel depth.

uFlags

Reserved. Must be 0.

Comments

pFILEDOCOPTIONS is a pointer to a FILEDOCOPTIONS structure.

DOC files have no physical width or height in pixels. You can use RASTERIZEDOCOPTIONS to control how the final document is rendered as a raster image.

The following functions make use of this structure:

LFileSettings::GetDOCOptions

LFileSettings::SetDOCOptions