typedef struct _OPENDLGOPTIONS_PCD 
   L_UINT uStructSize; 
   L_INT nResolution; 

The OPENDLGOPTIONS_PCD structure provides load option information for PCD file formats. This information will be used by the LFileSettings::SetPCDResolution function.



Size of this structure, in bytes. Use the sizeof operator to calculate this value.


Integer indicating the resolution to load or use in conversion. Possible values are:

Value Meaning
L_PCD_BASE_OVER_64 [0] Resolution 64 x 96
L_PCD_BASE_OVER_16 [1] Resolution 128 x 192
L_PCD_BASE_OVER_4 [2] Resolution 256 x 384
L_PCD_BASE [3] Resolution 512 x 768
L_PCD_4BASE [4] Resolution 1024 x 1536
L_PCD_16BASE [5] Resolution 2048 x 3072


The LDialogFile::DoModalOpen function displays the Open dialog and gets options for the LFile::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.

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Common Dialog C++ Class Library Help