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


IMensuration.ConvertLinear Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IM > IMensuration Interface > IMensuration.ConvertLinear Method
ArcGIS Developer Help

IMensuration.ConvertLinear Method

Converts linear measurement from 'fromUnit' to 'toUnit.

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

FromUnit is a parameter of type esriUnits ToUnit [in]
ToUnit is a parameter of type esriUnits 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