Specifies the bit format of a bitmap.
Declaration
TBitmapObj.PixelFormat
Read-Write Property |
String |
Description
The PixelFormat
property lets you get or set the bitmap’s format and color depth.
Property Value
One of the following string values:
“pfDevice ” |
The bitmap is a device-dependent bitmap. |
“pf1bit ” |
The bitmap is a monochrome device-independent bitmap (with one bit per pixel). |
“pf4bit ” |
The bitmap is a device-independent bitmap with a 16-color palette. |
“pf8bit ” |
The bitmap is a device-independent bitmap with a 256-color palette. |
“pf15bit ” |
The bitmap is a device-independent true-color bitmap that contains 15 bits per pixel. |
“pf16bit ” |
The bitmap is a device-independent true-color bitmap that contains 16 bits per pixel. |
“pf24bit ” |
The bitmap is a device-independent true-color bitmap that contains 24 bits per pixel. |
“pf32bit ” |
The bitmap is a device-independent true-color bitmap that contains 32 bits per pixel. |
“pfCustom ” |
The bitmap uses another format. |