This document is archived and information here might be outdated.  Recommended version.


IMensuration.ConvertArea Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IMensuration.ConvertArea Method

Converts area measurement from 'fromUnit' to 'toUnit.

[Visual Basic .NET]
Public Sub ConvertArea ( _
    ByVal FromUnit As esriAreaUnits, _
    ByVal ToUnit As esriAreaUnits, _
    ByVal inputValue As Double, _
    ByRef pOutputValue As Double _
)
[C#]
public void ConvertArea (
    esriAreaUnits FromUnit,
    esriAreaUnits ToUnit,
    double inputValue,
    ref double pOutputValue
);
[C++]
HRESULT ConvertArea(
  esriAreaUnits FromUnit,
  esriAreaUnits ToUnit,
  double inputValue,
  System.Double* pOutputValue
);
[C++]

Parameters FromUnit [in]
FromUnit is a parameter of type esriAreaUnits ToUnit [in]
ToUnit is a parameter of type esriAreaUnits inputValue [in]
inputValue is a parameter of type double pOutputValue [out]
pOutputValue is a parameter of type double*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMensuration Interface