Skip to main content

CartesianMapCoordinateSystem.ConvertCoordinate(Double, MeasureUnit, MeasureUnit) Method

Converts the coordinate from one measure unit to another.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

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