Back to Devexpress

CartesianMapCoordinateSystem.ConvertPoint(CoordPoint, MeasureUnit, MeasureUnit) Method

wpf-devexpress-dot-xpf-dot-map-dot-cartesianmapcoordinatesystem-dot-convertpoint-x28-devexpress-dot-map-dot-coordpoint-devexpress-dot-xpf-dot-map-dot-measureunit-devexpress-dot-xpf-dot-map-dot-measureunit-x29.md

latest2.0 KB
Original Source

CartesianMapCoordinateSystem.ConvertPoint(CoordPoint, MeasureUnit, MeasureUnit) Method

Converts a point from one measure unit to another.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public static CartesianPoint ConvertPoint(
    CoordPoint point,
    MeasureUnit fromUnit,
    MeasureUnit toUnit
)
vb
Public Shared Function ConvertPoint(
    point As CoordPoint,
    fromUnit As MeasureUnit,
    toUnit As MeasureUnit
) As CartesianPoint

Parameters

NameTypeDescription
pointCoordPoint

A CoordPoint class descendant object, which is the point in the old measure unit.

| | fromUnit | MeasureUnit |

A MeasureUnit object, the old measure unit.

| | toUnit | MeasureUnit |

A MeasureUnit object, the new measure unit.

|

Returns

TypeDescription
CartesianPoint

A CartesianPoint object, which is a point in the new measure unit.

|

See Also

CartesianMapCoordinateSystem Class

CartesianMapCoordinateSystem Members

DevExpress.Xpf.Map Namespace