IsPtInRgn method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

bool IsPtInRgn (int nRow, int nCol);

Delphi Syntax

IsPtInRgn (nRow, nCol: Integer): Boolean ;

Overview

Refer to Creating and Using a Bitmap Region.

Remarks

Determines whether the specified point is in the bitmap's region.

The coordinates of the point are relative to the LEAD bitmap in memory. The unit of measure is pixels.

See Also

Elements:

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

Topics:

Raster Images: Creating and Using a Region