This document is archived and information here might be outdated.  Recommended version.


esriNATravelDirection Constants (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

esriNATravelDirection Constants

Options for traveling to or from the facility.

Constant Value Description
esriNATravelDirectionFromFacility 0 Travel to the facility.
esriNATravelDirectionToFacility 1 Travel from the facility.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

The esriNATravelDirection specifies the way the directional impedances are used to solve a network analyst problem type. For directional impedance attributes such as travel time, different results can be generated when traveling from one location to another and vice a versa.

.NET Samples

Closest facility solver (Code Files: frmClosestFacilitySolver) | Service area solver (Code Files: frmServiceAreaSolver) | Location-allocation solver (Code Files: frmLocationAllocationSolver)