FILEXLSOPTIONS

typedef struct _FILEXLSOPTIONS
{
   L_UINT uStructSize;
   L_UINT32 uFlags;
} FILEXLSOPTIONS, *pFILEXLSOPTIONS;

The FILEXLSOPTIONS structure provides information on loading Microsoft Excel 2003 (XLS) 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(FILEXLSOPTIONS) macro to calculate this value.

uFlags

Flag that indicates how XLS files are rendered:

 

Value

Meaning

 

XLS_FLAGS_MULTIPAGE_SHEET

[0x01] Depending on the current rasterization options set with RASTERIZEDOCOPTIONS, the result physical render size of the page can hold more than one sheet. If this flag is set, then as many sheets as possible will be rendered on the same page if the size permits. Otherwise, exactly one sheet per page will be used.

 

Notice that if the sheet size is larger than the page size specified by the user, the sheet will be cropped regardless of the setting of this flag.

Comments

pFILEXLSOPTIONS is a pointer to a FILEXLSOPTIONS structure.

XLS 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:

L_GetXLSOptions

L_SetXLSOptions