SaveBitsPerPixel Property (ILEADRasterDlgFile)

Visual Basic example

Visual C++ example

 

Syntax

short SaveBitsPerPixel;

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:

Value

Meaning

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 TypeIndex property..

See Also

Elements

ShowSaveDlg method