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

MapRectangle.FromLeftTopRightBottom(MapCoordinateSystem, CoordPoint, CoordPoint) Method

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v19.2.dll


public static MapRectangle FromLeftTopRightBottom(
    MapCoordinateSystem coordSystem,
    CoordPoint leftTop,
    CoordPoint rightBottom
Public Shared Function FromLeftTopRightBottom(
    coordSystem As MapCoordinateSystem,
    leftTop As CoordPoint,
    rightBottom As CoordPoint
) As MapRectangle


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.


Type Description

A MapRectangle object.

See Also