BitmapCompression property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short BitmapCompression

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 or 24-bit will result in an exception. For more information, refer to the LoadCompressed property.

See Also

Elements: LoadCompressed property

Topics: Raster Images: Getting Current Information