Click or drag to resize

MapRectangleContains Method (Point)

Checks whether the point parameter is within the rectangle, inclusive its edges.

Namespace:  Ptv.XServer.Controls.Map
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public bool Contains(
	Point point
)

Parameters

point
Type: System.WindowsPoint
The point which is being tested for containment.

Return Value

Type: Boolean
If the rectangle is empty, the check always returns false. Otherwise it returns true, if the point parameter is within the rectangle, false otherwise.
See Also