Skip to main content
A newer version of this page is available. .

CartesianMapCoordinateSystem.ConvertPoint(CoordPoint, MeasureUnit, MeasureUnit) Method

Converts a point from one measure unit to another.

Namespace: DevExpress.Xpf.Map

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

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