OPENDLGOPTIONS_PCD

Summary

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

Syntax

typedef struct _OPENDLGOPTIONS_PCD 
{ 
   L_UINT uStructSize ; 
   L_INT nResolution ; 
} OPENDLGOPTIONS_PCD, * LPOPENDLGOPTIONS_PCD ; 

Members

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:

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

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_PCD, the OPENDLGOPTIONS.pOptions member will point to an OPENDLGOPTIONS_PCD structure, which is, in turn, updated with the PCD load options.

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

LEADTOOLS Common Dialog C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.