com.esri.arcgis.geoprocessing
Interface IGPLinearUnit2

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPLinearUnit

public interface IGPLinearUnit2
extends Serializable

Provides access to the properties/methods of a geoprocessing linear unit object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void setDefaultUnits(int units)
          Sets the type of linear unit to be used as the default when the linear unit control is displayed.
 

Method Detail

setDefaultUnits

void setDefaultUnits(int units)
                     throws IOException,
                            AutomationException
Sets the type of linear unit to be used as the default when the linear unit control is displayed.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.