ArcObjects Library Reference (NetworkAnalyst)  

INAServerRouteParams.DirectionsLengthUnits Property

Length units to use when computing directions.

[Visual Basic .NET]
Public Property DirectionsLengthUnits As esriNetworkAttributeUnits
[C#]
public esriNetworkAttributeUnits DirectionsLengthUnits {get; set;}
[C++]
HRESULT get_DirectionsLengthUnits(
  esriNetworkAttributeUnits* DirectionsLengthUnits
);
[C++]
HRESULT put_DirectionsLengthUnits(
  esriNetworkAttributeUnits DirectionsLengthUnits
);
[C++]

Parameters

DirectionsLengthUnits [out, retval]

  DirectionsLengthUnits is a parameter of type esriNetworkAttributeUnits

DirectionsLengthUnits [in]

  DirectionsLengthUnits is a parameter of type esriNetworkAttributeUnits

Product Availability

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

Remarks

DirectionsLengthUnits specifies the length units of the directions in esriNetworkAttributeUnits.

See Also

INAServerRouteParams Interface

.NET Samples

Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: Route_GISClientClass) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: Route_GISServerAPIClass) |