Click or drag to resize

MapRectangle Constructor (Point, Point)

Initializes a new instance of the MapRectangle class. The resulting object represents the smallest rectangle containing both points, i.e. both points define the boundaries directly. The ordering of the parameters has no influence on the result.

Namespace:  Ptv.XServer.Controls.Map
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public MapRectangle(
	Point point1,
	Point point2
)

Parameters

point1
Type: System.WindowsPoint
First point contained in the rectangle.
point2
Type: System.WindowsPoint
Second point contained in the rectangle.
See Also