ArcObjects Library Reference (NetworkAnalyst)  

INACompactStreetDirectionsAgent.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, esriNAUYards, and esriNAUFeet.

See Also

INACompactStreetDirectionsAgent Interface