This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IM > IMensuration Interface > IMensuration.ConvertArea Method (ArcObjects .NET 10.5 SDK) |
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,
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