Skip to main content

ForceUnitsConverter Class

Converts force measurement from one unit to another.

Namespace: DevExpress.UnitConversion

Assembly: DevExpress.Docs.v24.1.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public class ForceUnitsConverter :
    BaseUnitsConverter<Force>

The following members return ForceUnitsConverter objects:

Remarks

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

To convert 100 pound-force to Newtons, use the following code:

double result = Units.Force.Convert(100.0f, Force.Lbf, Force.Newton);

Inheritance

Object
BaseUnitsConverter<Force>
ForceUnitsConverter
See Also