L_GetDJVOptions

#include "l_bitmap.h"

L_LTFIL_API L_INT L_GetDJVOptions (pOptions, uStructSize);

pFILEDJVOPTIONS pOptions;

/* pointer to a structure */

L_UINT uStructSize;

/* size of the structure */

Gets the current options used by LEADTOOLS when loading DjVu files.

Parameter

Description

pOptions

Pointer to a structure to be updated with the current options used when loading a DjVu file.

uStructSize

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

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_SetDJVOptions.

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

Windows 2000 / XP/Vista.

See Also

Functions:

L_SetDJVOptions

Topics:

Loading and Saving Images

 

Raster Image Functions: Loading Files

Example

For an example, refer to L_SetDJVOptions.