OPENDLGOPTIONS_RASTERMISC

Summary

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

Syntax

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

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 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 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 22.0.2023.2.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.