GetRgnBounds method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int GetRgnBounds (Windows::TRect &RgnRect);

Delphi Syntax

GetRgnBounds (var RgnRect: TRect): integer;

Overview

Refer to Creating and Using a Bitmap Region.

Remarks

Gets the bounding rectangle of the bitmap region.

The size is unscaled relative to the LEAD bitmap in memory. The unit of measure is pixels.

See Also

Elements:

HasRgn property, IsPtInRgn method, GetRgnArea method, RgnLeft property, RgnTop property, RgnWidth property

Topics:

Raster Images: Creating and Using a Region