SetBitmapCompression method (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short SetBitmapCompression(ILEADRaster *pRaster, enum BitmapCompressionConstants newVal);

Overview

Refer to Layers in Files

Remarks

Changes the bitmap's compression 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. For more information, refer to the LoadCompressed property.

See Also

Elements:

LoadCompressed property, BitmapCompression property

Topics:

Raster Images: Getting Current Information