ArcObjects Library Reference (DataSourcesRaster)  

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,
  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