CartesianMapCoordinateSystem.ConvertPoint(CoordPoint, MeasureUnit, MeasureUnit) Method
Converts a point from one measure unit to another.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v24.1.dll
NuGet Package: DevExpress.Win.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