IsPtInRgn method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax BOOL IsPtInRgn (float fx, float fy);

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 determined by the ScaleMode property.

Value

Meaning

TRUE

The bitmap has a region.

FALSE

The bitmap does not have a region.

See Also

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

Topics:  Raster Images: Creating and Using a Region