OPENDLGOPTIONS_RASTERMISC

typedef struct _OPENDLGOPTIONS_RASTERMISC 
{ 
   L_UINT uStructSize; 
   L_UINT32 uXResolution; 
   L_UINT32 uYResolution; 
} OPENDLGOPTIONS_RASTERMISC, * LPOPENDLGOPTIONS_RASTERMISC; 

The OPENDLGOPTIONS_RASTERMISC structure provides load option information for FlashPix, CMW, JBIG or JPEG2000 file formats. This information will be used by the LFileSettings::SetLoadResolution function.

Members

uStructSize

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

uXResolution

Width of the bitmap to load.

uYResolution

Height of the bitmap to load.

Comments

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 one of the following:

File type Option
FILE_FPX FILE_FPX_SINGLE_COLOR
FILE_FPX_JPEG FILE_FPX_JPEG_QFACTOR
FILE_CMW FILE_JBIG
FILE_JP2 FILE_J2K

The OPENDLGOPTIONS.pOptions member will point to an OPENDLGOPTIONS_RASTERMISC structure, which is, in turn, updated with the appropriate load options.

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

LEADTOOLS Common Dialog C++ Class Library Help