The FILEXLSOPTIONS structure provides information on loading Microsoft Excel 2003 (XLS) files in LEADTOOLS.
|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:|
|XLS_FLAGS_MULTIPAGE_SHEET||[0x00000001] 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.|
|XLS_FLAGS_DISABLE_CELL_CLIPPING||[0x00000002] If this flag is set, the rendered page width/height chosen by the user will be approximated to nearest cell width/height to avoid clipping excel document cell. This means the resultant page width/height will be either equal or more the specified page width/height depending on cell dimension. This flag has no effect if XLS_FLAGS_MULTIPAGE_SHEET is not set.|
|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.|
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: