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


INACompactStreetDirectionsAgent.LengthUnits Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INACompactStreetDirectionsAgent Interface > INACompactStreetDirectionsAgent.LengthUnits Property
ArcGIS Developer Help

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, esriNAUYardsesriNAUFeet, and esriNAUNauticalMiles.

See Also

INACompactStreetDirectionsAgent Interface