Products | Support | Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Common Dialog C++ Class Library Help

OPENDLGOPTIONS_RASTERMISC

Show in webframe

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.

Member

Description

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_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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.