Skip to main content

CartesianMapCoordinateSystem.ConvertCoordinate(Double, MeasureUnit, MeasureUnit) Method

Converts the coordinate from one measure unit to another.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

Declaration

public static double ConvertCoordinate(
    double coordinate,
    MeasureUnit fromUnit,
    MeasureUnit toUnit
)

Parameters

Name Type Description
coordinate Double

A Double value coordinate in the old measure unit.

fromUnit MeasureUnit

A MeasureUnit object, which is the old measure unit.

toUnit MeasureUnit

A MeasureUnit object, which is the new measure unit.

Returns

Type Description
Double

A Double value coordinate in the new measure unit.

See Also