The OPENDLGOPTIONS_PCD structure provides load option information for PCD file formats. This information will be used by the L_SetPCDResolution function.
|uStructSize||Size of this structure, in bytes. Use the sizeof operator to calculate this value.|
|nResolution||Integer indicating the resolution to load or use in conversion. Possible values are:|
|L_PCD_BASE_OVER_64|| Resolution 64 x 96|
|L_PCD_BASE_OVER_16|| Resolution 128 x 192|
|L_PCD_BASE_OVER_4|| Resolution 256 x 384|
|L_PCD_BASE|| Resolution 512 x 768|
|L_PCD_4BASE|| Resolution 1024 x 1536|
|L_PCD_16BASE|| Resolution 2048 x 3072|
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_PCD, the OPENDLGOPTIONS.pOptions member will point to an OPENDLGOPTIONS_PCD structure, which is, in turn, updated with the PCD load options.