Skip to main content

SpeedUnitsConverter Class

Converts speed measurement from one unit to another.

Namespace: DevExpress.UnitConversion

Assembly: DevExpress.Docs.v24.2.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public class SpeedUnitsConverter :
    BaseUnitsConverter<Speed>

The following members return SpeedUnitsConverter objects:

Remarks

Use the PrefixUnitsConverter<T>.Convert method to perform the conversion.

To convert one knot to meters per hour, use the following code:

double result = Units.Speed.Convert(1.0f, Speed.Knot, Speed.MetersPerHour);

Inheritance

Object
BaseUnitsConverter<Speed>
SpeedUnitsConverter
See Also