Back to Devexpress

MapRectangle.FromLeftTopRightBottom(MapCoordinateSystem, CoordPoint, CoordPoint) Method

wpf-devexpress-dot-xpf-dot-map-dot-maprectangle-dot-fromlefttoprightbottom-x28-devexpress-dot-xpf-dot-map-dot-mapcoordinatesystem-devexpress-dot-map-dot-coordpoint-devexpress-dot-map-dot-coordpoint-x29.md

latest2.0 KB
Original Source

MapRectangle.FromLeftTopRightBottom(MapCoordinateSystem, CoordPoint, CoordPoint) Method

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

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

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

Parameters

NameTypeDescription
coordSystemMapCoordinateSystem

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

TypeDescription
MapRectangle

A MapRectangle object.

|

See Also

MapRectangle Class

MapRectangle Members

DevExpress.Xpf.Map Namespace