L_GetDOCOptions

#include "l_bitmap.h"

L_LTFIL_API L_INT EXT_FUNCTION L_GetDOCOptions(pOptions, uStructSize)

pFILEDOCOPTIONS pOptions;

/* pointer to a structure */

L_UINT uStructSize;

/* size of the structure */

Gets the file options used by LEADTOOLS when loading DOC (Microsoft Word) or DOCX (Microsoft Word 2007/2010) files.

Parameter

Description

pOptions

Pointer to a structure to be updated with the options used when loading DOC files.

uStructSize

Size of the structure pointed to by pOptions. Use sizeof(FILEDOCOPTIONS)

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes .

Comments

The options obtained by this function are valid for the current thread.

To change the current options, change the values in the structure pointed to by pOptions and pass a pointer to the updated structure to L_SetDOCOptions.

Required DLLs and Libraries

LTFIL
File format DLLs

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application .

Platforms

Win32, x64.

See Also

Functions:

L_SetDOCOptions

Topics:

Raster Image Functions: Loading Files

 

Loading and Saving Images

 

File Formats: Microsoft Office Word Document Format (DOC)

Example

For a short example, refer to L_SetDOCOptions.