Determines if the specified point is contained within this RectangleD structure.

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Function Contains ( _
	x As Double, _
	y As Double _
) As Boolean
C#
public bool Contains(
	double x,
	double y
)
Visual C++
public:
bool Contains(
	double x, 
	double y
)
JavaScript
function contains(x, y);

Parameters

x
Type: System..::..Double
The x-coordinate of the point to test.
y
Type: System..::..Double
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 RectangleD structure; otherwise false.

See Also