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


IDistanceConverter2.GetValueForLinearUnit Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > ID > IDistanceConverter2 Interface > IDistanceConverter2.GetValueForLinearUnit Method
ArcGIS Developer Help

IDistanceConverter2.GetValueForLinearUnit Method

Converts the string value to the given desired linear unit.

[Visual Basic .NET]
Public Function GetValueForLinearUnit ( _
    ByVal val As String, _
    ByVal pUnit As ILinearUnit _
) As Double
[C#]
public double GetValueForLinearUnit (
    string val,
    ILinearUnit pUnit
);

Product Availability

Available with ArcGIS Desktop.

See Also

IDistanceConverter2 Interface