L_GetPLTOptions

#include "l_bitmap.h"

L_INT EXT_FUNCTION L_GetPLTOptions(pOptions, uStructSize)

pFILEPLTOPTIONS pOptions;

/* pointer to a structure */

L_UINT uStructSize;

/* size of the FILEPLTOPTIONS structure */

Gets the file options used by LEADTOOLS when loading HPGL files.

Parameter

Description

pOptions

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

uStructSize

Size in bytes, of the structure pointed to by pOptions, for versioning. Use sizeof(FILEPLTOPTIONS).

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 set the options to use when loading HPGL files, use L_SetPLTOptions.

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 95 / 98 / Me, Windows 2000 / XP.

See Also

Functions:

L_SetPLTOptions

Topics:

Raster Image Functions: Loading Files

 

Loading and Saving Images

For a list of functions that utilize the LOADFILEOPTION or SAVEFILEOPTION structures, refer to Functions Utilizing the LOADFILEOPTION or SAVEFILEOPTION structures.

Example

For an example, refer to L_SetPLTOptions.