ESRI.ArcGIS.NetworkAnalystTools
Directions Constructor(Object,String,Object,String)
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.NetworkAnalystTools Namespace > Directions Class > Directions Constructor : Directions Constructor(Object,String,Object,String)




in_network_analysis_layer
Network analysis layer from which directions will be generated. Directions can be generated only for the Route, Closest Facility, and Vehicle Routing Problem network analysis layers. (In, Required)
file_type
The format of the output directions file. (In, Required)
out_directions_file
The full pathname to the directions file that will be written. (Out, Required)
report_units
Specifies the linear units in which the length information will be reported in the directions file. For example, even though your impedance was in meters, you can show directions in miles. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_network_analysis_layer As Object, _
   ByVal file_type As String, _
   ByVal out_directions_file As Object, _
   ByVal report_units As String _
)
Visual Basic (Usage)Copy Code
Dim in_network_analysis_layer As Object
Dim file_type As String
Dim out_directions_file As Object
Dim report_units As String
 
Dim instance As Directions(in_network_analysis_layer, file_type, out_directions_file, report_units)
C# 
public Directions( 
   object in_network_analysis_layer,
   string file_type,
   object out_directions_file,
   string report_units
)

Parameters

in_network_analysis_layer
Network analysis layer from which directions will be generated. Directions can be generated only for the Route, Closest Facility, and Vehicle Routing Problem network analysis layers. (In, Required)
file_type
The format of the output directions file. (In, Required)
out_directions_file
The full pathname to the directions file that will be written. (Out, Required)
report_units
Specifies the linear units in which the length information will be reported in the directions file. For example, even though your impedance was in meters, you can show directions in miles. (In, Required)

See Also

© 2010 All Rights Reserved.