This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > ID > IDistanceConverter2 Interface > IDistanceConverter2.GetValueForLinearUnit Method (ArcObjects .NET 10.4 SDK) |
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 );