BitmapCompression property (Main Control)
Builder Syntax |
int BitmapCompression |
Delphi Syntax |
BitmapCompression: Integer |
Overview |
Refer to Super Compressed Bitmaps |
Remarks
Indicates the compression used in storing the bitmap in memory.
Reading the property gives the user the current compression used by the bitmap.
When the property is set, the bitmap's compression is changed to match the desired compression. An exception occurs if the compression type is invalid. For example, trying to compress a bitmap that is not 1-bit, or trying to super-compress a bitmap that is not 1-bit, 8-bit, or 24-bit will result in an exception.
See Also
Elements: |
|
Topics: |