Click or drag to resize

MapRectangleCenter Property

Gets or sets the center of the rectangle. If the rectangle is empty, the point (Double.NaN, Double.NaN) is returned. If the center is set to an empty rectangle, the value becomes the new center, the width and height of the rectangle are set to 0. If the rectangle was not empty, the center is changed, but the width and height remain unchanged.

Namespace:  Ptv.XServer.Controls.Map
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public Point Center { get; set; }

Property Value

Type: Point
See Also