|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INAStreetDirectionsAgent2
Provides access to the Directions Agent.
The INAStreetDirectionsAgent interface allows you to specify the properties for generating directions.
Length units is a required field for directions.
You get the NAStreetDirectionsAgent from the NAContext's list of agents using the name "StreetDirectionsAgent". For example:
Set pStreetAgent = NAContext.Agents.ItemByName("StreetDirectionsAgent")
Specifying the language to generate directions in, requires that you know which languages are supported by your directions configuration files.
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 |
---|
String getLanguage() throws IOException, AutomationException
Specifies the Language you want to see the directions in.
This requires that you know which languages are supported by your directions configuration files.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLanguage(String strLanguage) throws IOException, AutomationException
Specifies the Language you want to see the directions in.
This requires that you know which languages are supported by your directions configuration files.
strLanguage
- The strLanguage (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |