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


IDistanceConverter2.GetValueForLinearUnit Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Editor)  

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