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


INAStreetDirectionsAgent.LengthUnits Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAStreetDirectionsAgent.LengthUnits Property

The length units.

[Visual Basic .NET]
Public Property LengthUnits As esriNetworkAttributeUnits
[C#]
public esriNetworkAttributeUnits LengthUnits {get; set;}
[C++]
HRESULT get_LengthUnits(
  esriNetworkAttributeUnits* Units
);
[C++]
HRESULT put_LengthUnits(
  esriNetworkAttributeUnits Units
);
[C++]

Parameters Units [out, retval]
Units is a parameter of type esriNetworkAttributeUnits Units [in]
Units is a parameter of type esriNetworkAttributeUnits

Product Availability

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

Remarks

LengthUnits specifies the length units of the directions in esriNetworkAttributeUnits. The currently supported length units for this property are esriNAUMiles, esriNAUKilometers, esriNAUMeters, esriNAUYardsesriNAUFeet, and esriNAUNauticalMiles.

See Also

INAStreetDirectionsAgent Interface