OPENDLGOPTIONS_RASTERMISC
typedef struct _OPENDLGOPTIONS_RASTERMISC
{
L_UINT uStructSize ;
L_UINT32 uXResolution
;
L_UINT32 uYResolution
;
} OPENDLGOPTIONS_RASTERMISC, L_FAR* 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 L_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 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_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.