BitsPerPixel property (LEADDlgColor Control)
|
Builder Syntax |
L_INT BitsPerPixel |
|
Delphi Syntax |
BitsPerPixel: L_INT |
|
Overview |
Refer to Using Imaging Common Dialogs. |
Remarks
Gets or sets the number of bits per pixel in the Color Resolution dialog box.
Support for 12 and 16-bit grayscale images is available only in the Document/Medical toolkits. The following are valid values:
|
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 |
|
48 |
48 bits per pixel in the resultant bitmap |
|
64 |
64 bits per pixel in the resultant bitmap |
See Also
|
Elements: |
ShowColorResDlg method, PaletteFlags property, DitherFlags property, DlgFlagsEx property. |
|
Topics: |