LFileSettings::GetPTKOptions

#include "ltwrappr.h"

static L_INT LFileSettings::GetPTKOptions(pOptions, uStructSize)

pFILEPTKOPTIONS pOptions;

/* pointer to a structure */

L_UINT uStructSize;

/* size of the structure */

Gets the file options used by LEADTOOLS when loading PTOCA and AFP:PTOCA files.

Parameter

Description

pOptions

Pointer to a structure to be updated with the options used when loading PTOCA and AFP:PTOCA files.

uStructSize

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

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.

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

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.

See Also

Functions:

LFileSettings::SetPTKOptions

Topics:

Raster Image Functions: Loading Files

Example

For an example, refer to LFileSettings::SetPTKOptions.