SetRgnFromMask method (ILEADRaster)

Visual Basic example

Visual C++ example

 

Syntax

short SetRgnFromMask (RgnCombineModeConstants CombineMode);

Overview

Refer to Creating and Using a Bitmap Region.

Remarks

Creates or updates the bitmap region in the Bitmap property by adding the region specified by the white pixels in the MaskBitmap property.

The MaskBitmap property must contain a 1-bit image before calling this method. The MaskBitmap property can be set manually, by the user, or it may be updated by calling the CreateMaskFromRgn method.

See Also

Elements:

MaskBitmap property, SetRgnEllipse method, SetRgnRect method, SetRgnRoundRect method, PolygonSize property, OffsetRgn method, SetRgnColor method.

Topics:

Raster Images: Creating and Using a Region

 

Saving a Region