HasRgn property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax BOOL HasRgn

Overview:  Refer to Creating and Using a Bitmap Region.

Remarks

Determines whether a region is defined in the LEAD bitmap.

When a bitmap has a region, some methods act on the region, rather than the whole bitmap. For a list of affected methods, refer to Raster Images: Where the Region Preempts the Bitmap.

Value

Meaning

TRUE

The bitmap has a region.

FALSE

The bitmap does not have a region.

See Also

Elements:  IsPtInRgn method, GetRgnArea method, RgnHeight property, RgnLeft property, RgnTop property, RgnWidth property

Topics:  Raster Images: Creating and Using a Region