com.esri.arcgis.networkanalyst
Interface INAStreetDirectionsAgent2

All Superinterfaces:
INAStreetDirectionsAgent, Serializable
All Known Implementing Classes:
NAStreetDirectionsAgent

public interface INAStreetDirectionsAgent2
extends INAStreetDirectionsAgent, Serializable

Provides access to the Directions Agent.

Remarks

The INAStreetDirectionsAgent2 interface is used to specify the language to generate directions in. This requires that you know which languages are supported by your directions configuration files.

Product Availability

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


Method Summary
 String getLanguage()
          Language to use when generating directions.
 void setLanguage(String strLanguage)
          Language to use when generating directions.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INAStreetDirectionsAgent
execute, getDirectionsContainer, getLengthUnits, getTimeAttributeName, isAutoShowDirections, isDisplayTime, setAutoShowDirections, setDisplayTime, setLengthUnits, setTimeAttributeName
 

Method Detail

getLanguage

String getLanguage()
                   throws IOException,
                          AutomationException
Language to use when generating directions.

Remarks

Specifies the Language you want to see the directions in.

This requires that you know which languages are supported by your directions configuration files.

Product Availability

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

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

setLanguage

void setLanguage(String strLanguage)
                 throws IOException,
                        AutomationException
Language to use when generating directions.

Remarks

Specifies the Language you want to see the directions in.

This requires that you know which languages are supported by your directions configuration files.

Product Availability

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

Parameters:
strLanguage - The strLanguage (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.