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


IMensuration.ConvertLinear Method (ArcObjects .NET 10.5 SDK)
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