ArcObjects Library Reference (NetworkAnalyst)  

INAStreetDirectionsAgent.LengthUnits Property

The length units.

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


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.


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

INAStreetDirectionsAgent Interface