Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

PressureUnitsConverter Class

Converts area measurement from one unit to another.

Namespace: DevExpress.UnitConversion

Assembly: DevExpress.Docs.v19.1.dll

Declaration

public class PressureUnitsConverter :
    BaseUnitsConverter<Pressure>

Remarks

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

To convert 1 atmosphere to millimeters of mercury, use the following code:


double result = Units.Pressure.Convert(1.0f, Pressure.Atmosphere, Pressure.MmHg);

Inheritance

Object
BaseUnitsConverter<Pressure>
PressureUnitsConverter
See Also