Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
RegionContains Method
See Also 
Leadtools Namespace > RasterImage Class : RegionContains Method




row
The row number of the pixel.
col
The column number of the pixel.
Determines whether the specified pixel is in the image region.

Syntax

Visual Basic (Declaration) 
Public Function RegionContains( _
   ByVal row As Integer, _
   ByVal col As Integer _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim row As Integer
Dim col As Integer
Dim value As Boolean
 
value = instance.RegionContains(row, col)
C# 
public bool RegionContains( 
   int row,
   int col
)
Managed Extensions for C++ 
public: bool RegionContains( 
   int row,
   int col
) 
C++/CLI 
public:
bool RegionContains( 
   int row,
   int col
) 

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.

Remarks

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.

Requirements

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

See Also