com.esri.arcgis.editor
Interface IDistanceConverter2

All Superinterfaces:
IDistanceConverter, Serializable
All Known Implementing Classes:
DistanceConverter

public interface IDistanceConverter2
extends IDistanceConverter, Serializable

Provides access to methods that allow a distance to be converted from one linear unit to another.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 double getValueForLinearUnit(String val, ILinearUnit pUnit)
          Converts the string value to the given desired linear unit.
 
Methods inherited from interface com.esri.arcgis.editor.IDistanceConverter
getValue
 

Method Detail

getValueForLinearUnit

double getValueForLinearUnit(String val,
                             ILinearUnit pUnit)
                             throws IOException,
                                    AutomationException
Converts the string value to the given desired linear unit.

Product Availability

Available with ArcGIS Desktop.

Parameters:
val - The val (in)
pUnit - A reference to a com.esri.arcgis.geometry.ILinearUnit (in)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.