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.
Size of this structure, in bytes. Use the sizeof operator to calculate this value.
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.
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.
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.