SetLayerMaskBitmap method (ILEADRasterIO)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short SetLayerMaskBitmap(ILEADRaster *pRaster, ILEADRaster *pRasterMask, short iLayer);

Overview

Refer to Layers in Files

Remarks

Sets the mask bitmap for the layer. The mask bitmap is an 8-bit grayscale bitmap. The value of each pixel in the mask layer bitmap determines the transparency of the corresponding layer bitmap. A value of 0 represents full transparency while a value of 0xFF represents complete opacity. Intermediate values represent translucency. If the mask bitmap does not exist, then the layer is considered to be visible (it is as if the mask bitmap contained only 0xFF pixels.

For more information, refer to FILE FORMATS SPECIFICATION from Adobe.

See Also

Elements:

LayerBlendModeKey property, LayerOpacity property, LayerLeft property, LayerClipping property, LayerTop property, Save method, SaveLayers property