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


INetworkDirections.DefaultOutputLengthUnits Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkDirections.DefaultOutputLengthUnits Property

The default length units that will be used for reporting distances in driving directions.

[Visual Basic .NET]
Public Property DefaultOutputLengthUnits As esriNetworkAttributeUnits
[C#]
public esriNetworkAttributeUnits DefaultOutputLengthUnits {get; set;}
[C++]
HRESULT get_DefaultOutputLengthUnits(
  esriNetworkAttributeUnits* Units
);
[C++]
HRESULT put_DefaultOutputLengthUnits(
  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.

Remarks

The DefaultOutputLengthUnits that will be used for generating directions.  This property is required for Direction generation.

The valid values are: esriNAUMiles, esriNAUKilometers, esriNAUMeters, esriNAUYards, and esriNAUFeet from the esriNetworkAttributeUnits enumeration.

This value does not have to correspond to the units specified for the LengthAttributeName property.

See Also

INetworkDirections Interface