Skip to main content

AreaUnitsConverter Class

Converts area measurement from one unit to another.

Namespace: DevExpress.UnitConversion

Assembly: DevExpress.Docs.v24.1.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public class AreaUnitsConverter :
    BaseUnitsConverter<Area>

The following members return AreaUnitsConverter objects:

Remarks

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

To convert 100 hectare to square meters, use the following code:

double result = Units.Area.Convert(100.0f, Area.Hectare, Area.SquareMeter);

Inheritance

Object
BaseUnitsConverter<Area>
AreaUnitsConverter
See Also