This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkDirections Interface > INetworkDirections.DefaultOutputLengthUnits Property (ArcObjects .NET 10.4 SDK) |
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
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.