- x
- The x-coordinate of the point to test.
- y
- The y-coordinate of the point to test.
Visual Basic (Declaration) | |
---|---|
Overloads Public Function Contains( _ ByVal x As Single, _ ByVal y As Single _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- x
- The x-coordinate of the point to test.
- y
- The y-coordinate of the point to test.
Return Value
This method returns true if the point defined by x and y is contained within this AnnRectangle structure; otherwise false.The point is treated as if its in the same unit as the AnnRectangle.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family