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
)
Public Function Contains (
point As Point
) As Boolean
public:
bool Contains(
Point point
)
member Contains :
point : Point -> bool
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