LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Contains(Int32,Int32) Method
See Also 
Leadtools Namespace > LeadRect Structure > Contains Method : Contains(Int32,Int32) Method



x
The x-coordinate of the point to test.
y
The y-coordinate of the point to test.
x
The x-coordinate of the point to test.
y
The y-coordinate of the point to test.
Determines whether the specified point is contained within this LeadRect structure. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Overloads Public Function Contains( _
   ByVal x As Integer, _
   ByVal y As Integer _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As LeadRect
Dim x As Integer
Dim y As Integer
Dim value As Boolean
 
value = instance.Contains(x, y)
C# 
public bool Contains( 
   int x,
   int y
)
C++/CLI 
public:
bool Contains( 
   int x,
   int y
) 

Parameters

x
The x-coordinate of the point to test.
y
The y-coordinate of the point to test.

Return Value

true if the specified point is contained within this LeadRect; false, otherwise.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also