Visual Basic (Declaration) | |
---|---|
Public Function RegionContains( _ ByVal row As Integer, _ ByVal col As Integer _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- row
- The row number of the pixel.
- col
- The column number of the pixel.
Return Value
true if the specified pixel is in the region, otherwise; false.This method uses image coordinates to specify the pixel. Therefore, you must account for the view perspective of the image.
For more information, refer to Working with the Existing Region.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family