Skip to main content

CartesianMapCoordinateSystem.ConvertPoint(CoordPoint, MeasureUnit, MeasureUnit) Method

Converts a point 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 CartesianPoint ConvertPoint(
    CoordPoint point,
    MeasureUnit fromUnit,
    MeasureUnit toUnit
)

Parameters

Name Type Description
point CoordPoint

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

Type Description
CartesianPoint

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

See Also