FILEPTKOPTIONS

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

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

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, default is 96. A value of 0 means use current screen resolution.

Comments

pFILEPTKOPTIONS is a pointer to a FILEPTKOPTIONS structure. Use L_SetPTKOptions and L_GetPTKOptions to set and get the PTOCA and AFP:PTOCA file options.

The following functions make use of this structure:

L_GetPTKOptions

L_SetPTKOptions