FILEPTKOPTIONS

typedef struct _FILEPTKOPTIONS
{
   L_UINT uStructSize;
   L_INT nPTKResolution;
}
FILEPTKOPTIONS , L_FAR * pFILEPTKOPTIONS;

The FILEPTKOPTIONS structure provides information on loading PTOCA and AFP: PTOCA files in LEADTOOLS.

The following functions make use of this structure:

LFileSettings::GetPTKOptions

LFileSettings::SetPTKOptions

Member

Description

uStructSize

Size of the structure. This must be set before passing this structure to the LEAD functions. Use the sizeof() macro to calculate this value.

nPTKResolution

Display resolution in dots per inch. The default is 96.

Comments

pFILEPTKOPTIONS is a pointer to a FILEPTKOPTIONS structure.

Use LFileSettings::SetPTKOptions and LFileSettings::GetPTKOptions to set and get the PTOCA and AFP:PTOCA file options.