LEADTOOLS Common Dialog C DLL Help > Quick Reference > Data Types > OPENDLGOPTIONS_PDF |
typedef struct _OPENDLGOPTIONS_PDF
{
L_UINT uStructSize;
FILEPDFOPTIONS PDFOptions;
} OPENDLGOPTIONS_PDF, * LPOPENDLGOPTIONS_PDF ;
The OPENDLGOPTIONS_PDF structure provides load option information for PDF file formats. This information will be used by the L_SetPDFOptions function.
Member |
Description |
uStructSize |
Size of this structure, in bytes. Use the sizeof operator to calculate this value. |
PDFOptions |
FILEPDFOPTIONS structure that contains the load options for a PDF file. |
Comments
The L_DlgOpen function displays the Open dialog and gets options for the L_LoadFile function. After the user presses the Open button on the dialog, one or more OPENDLGFILEDATA structures will be updated based on the file(s) selected in the Open dialog. The OPENDLGFILEDATA.FileOptions member is an OPENDLGOPTIONS structure. This structure is updated based on the file type(s) selected in the Open dialog. If the OPENDLGOPTIONS.nType member is FILE_PDF, the OPENDLGOPTIONS.pOptions member will point to an OPENDLGOPTIONS_PDF structure, which is, in turn, updated with the PDF load options.