Skip to main content

MapRectangle.FromLeftTopRightBottom(MapCoordinateSystem, CoordPoint, CoordPoint) Method

Creates a map rectangle using its top-left and bottom-right points.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v23.2.dll

NuGet Package: DevExpress.Win.Map

Declaration

public static MapRectangle FromLeftTopRightBottom(
    MapCoordinateSystem coordSystem,
    CoordPoint leftTop,
    CoordPoint rightBottom
)

Parameters

Name Type Description
coordSystem MapCoordinateSystem

A MapCoordinateSystem value specifying the map coordinate system.

leftTop CoordPoint

A CoordPoint value specifying the top-left coordinate.

rightBottom CoordPoint

A CoordPoint value specifying the bottom-right coordinate.

Returns

Type Description
MapRectangle

A MapRectangle object.

See Also