SaveBitsPerPixel property (LEADDlgFile Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT SaveBitsPerPixel

Delphi Syntax

SaveBitsPerPixel: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the number of bits per pixel to use when saving the file in the Save dialog box.

Support for 12 and 16-bit grayscale image is available only in the Document/Medical toolkits. Possible values are:

Setting

Description

1

1 bit per pixel in the resultant bitmap

2

2 bits per pixel in the resultant bitmap

3

3 bits per pixel in the resultant bitmap

4

4 bits per pixel in the resultant bitmap

5

5 bits per pixel in the resultant bitmap

6

6 bits per pixel in the resultant bitmap

7

7 bits per pixel in the resultant bitmap

8

8 bits per pixel in the resultant bitmap

12

12 bits per pixel in the resultant bitmap

16

16 bits per pixel in the resultant bitmap

24

24 bits per pixel in the resultant bitmap

32

32 bits per pixel in the resultant bitmap

If you specify a valid SaveFormat and SaveBitsPerPixel combination before showing the Save dialog box, then the File Type list box will be initialized with the corresponding type. If the specified combination is not valid, the File Type list box will be initialized with the value of the FilterIndex property.

See Also

Elements:

ShowSaveDlg method, Filter property, FilterIndex property, FileName property, FileTitle property, DialogTitle property, DlgFileFlags property, InitialDir property, MaxFileSize property, MaxFileTitleSize property, PageNumber property, SaveFormat property, SaveQFactor property, SaveMulti property, SaveInterlaced property, SavePasses property, SaveWithStamp property, SaveStampBits property, SaveStampWidth property, SaveStampHeight property, SaveFileTypeIndex property, SaveSubTypeIndex property, SaveJ2KUseColorTransform property, SaveJ2KDerivedQuantization property, SaveJ2KCompressionControl property, SaveJ2KCompressionRatio property, SaveJ2KTargetFileSize property, SaveJ2KXOsiz property, SaveJ2KYOsiz property, SaveJ2KXTsiz property, SaveJ2KYTsiz property, SaveJ2KXTOsiz property, SaveJ2KYTOsiz property, SaveJ2KDecompLevel property, SaveJ2KProgressOrder property, SaveJ2KCodBlockWidth property, SaveJ2KCodBlockHeight property, SaveJ2KCBS_SelectiveACBypass property, SaveJ2KCBS_ResetContextOnBoundaries property, SaveJ2KCBS_TerminationOnEachPass property, SaveJ2KCBS_VerticallyCausalContext property, SaveJ2KCBS_PredictableTermination property, SaveJ2KCBS_ErrorResilienceSymbol property, SaveJ2KGuardBits property, SaveJ2KDerivedBaseMantissa property, SaveJ2KDerivedBaseExponent property, SaveJ2KUseSOPMarker property, SaveJ2KUseEPHMarker property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events