A newer version of this page is available. Switch to the current version.

MapRectangle.CreateByCenter(MapCoordinateSystem, CoordPoint, Double, Double) Method

Creates a map rectangle using its center point, width and height.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v18.2.dll


public static MapRectangle CreateByCenter(
    MapCoordinateSystem coordSystem,
    CoordPoint center,
    double width,
    double height
Public Shared Function CreateByCenter(
    coordSystem As MapCoordinateSystem,
    center As CoordPoint,
    width As Double,
    height As Double
) As MapRectangle


Name Type Description
coordSystem MapCoordinateSystem

A MapCoordinateSystem class descendant object representing the coordinate system in which the rectangle should be initialized.

center CoordPoint

A CoordPoint object specifying the rectangle center point.

width Double

A Double specifying the rectangle width.

height Double

A Double specifying the rectangle height.


Type Description

A MapRectangle object with the specified center point width and height.

See Also