peColorDepth - cImageList32
Determines the number of bits per pixel used to store color information in the image list.
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer peColorDepth
| Access Type | Syntax |
|---|---|
| Read Access: | Get peColorDepth to IntegerVariable |
| Write Access: | Set peColorDepth to IntegerVariable/Value |
Description
Determines the number of bits per pixel used to store color information in the image list.
Valid color depth values are:
| Constant | Meaning |
|---|---|
| ILC_COLOR | Use the default color depth. Typically, the default is ILC_COLOR4, but for older display drivers, the default is ILC_COLORDDB. |
| ILC_COLOR4 | Use a 4-bit (16-color) device-independent bitmap (DIB) section as the bitmap for the image list. |
| ILC_COLOR8 | Use an 8-bit (256-color) DIB section. The colors used for the color table are the same colors as the halftone palette. |
| ILC_COLOR16 | Use a 16-bit (32/64k-color) DIB section. |
| ILC_COLOR24 | Use a 24-bit DIB section. |
| ILC_COLOR32 | Use a 32-bit DIB section. |
| ILC_COLORDDB | Use a device-dependent bitmap. |
Default is ICL_COLOR32