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

FILESAVEFORMATBPP

Show in webframe

typedef struct _FILESAVEFORMATBPP
{
   L_UINT uStructSize ;
   L_INT32 nFormatBpp ;
   L_UINT uSubFormats ;
} FILESAVEFORMATBPP, * LPFILESAVEFORMATBPP ;

The FILESAVEFORMATBPP structure contains information used to customize the BPP options, and subformats included in the dialogs displayed by the LDialogFile::DoModalFileConversion and LDialogFile::DoModalSave functions.

Member

Description

uStructSize

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

nFormatBpp

Value that represents the BPP options to be included in the dialog. The available options depend on the format specified in the nFormat member of the FILESAVEFORMAT structure. For more information on the available formats, BPP options and sub format options, refer to Customizing File Format Lists.

uSubFormats

Value that represents the sub-format options to be included in the dialog. The available options depend on the format specified in the nFormat member of the FILESAVEFORMAT structure and on the BPP options set in the nFormatBpp member of FILESAVEFORMATBPP. For more information on the available formats, BPP options and sub format options, refer to Customizing File Format Lists. Sub-format options may be "OR"ed to include more than one sub-format. To include more than one sub-format option, combine the options with a bitwise OR.

Comments

The values in this structure depend on the value of the nFormat member set in the FILESAVEFORMAT structure. For example, if FILESAVEFORMAT.nFormat is DLG_FF_SAVE_LEAD, then the possible BPP values are 1, 8, and 24. If you want to inlcude only the 8 and 24 BPP options, then you must allocate two FILESAVEFORMATBPP structures. Set the nFormatBpp member of one of the structures to 8 and set the nFormatBpp member of the other structure to 24. Set the corresponding uSubFormats member of each structure to the desired value. If you only want to include the progressive option, then set the uSubFormats member in each structure to DLG_FF_SAVE_SUB_CMP_PROGRESSIVE.

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