com.esri.arcgis.arcweb
Interface IArcWebDirections

All Superinterfaces:
Serializable
All Known Implementing Classes:
ArcWebDirections, IArcWebDirectionsProxy

public interface IArcWebDirections
extends Serializable

Provides access to members that describe each segment of a route.

Product Availability

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


Method Summary
 String getDescriptiveDirections()
          A description of the route segment.
 String getDescriptiveDistance()
          A descriptive distance of the route segment.
 double getDistance()
          The distance of the route segment.
 IEnvelope getExtent()
          The extent of the route segment.
 double getTime()
          The estimated number of minutes the route segment takes to drive.
 

Method Detail

getDescriptiveDirections

String getDescriptiveDirections()
                                throws IOException,
                                       AutomationException
A description of the route segment.

Product Availability

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

Returns:
The descriptiveDirections
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescriptiveDistance

String getDescriptiveDistance()
                              throws IOException,
                                     AutomationException
A descriptive distance of the route segment.

Product Availability

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

Returns:
The descriptiveDistance
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

IEnvelope getExtent()
                    throws IOException,
                           AutomationException
The extent of the route segment.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDistance

double getDistance()
                   throws IOException,
                          AutomationException
The distance of the route segment.

Product Availability

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

Returns:
The distance
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTime

double getTime()
               throws IOException,
                      AutomationException
The estimated number of minutes the route segment takes to drive.

Product Availability

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

Returns:
The time
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.