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.
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.