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


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

INAServerRouteResults2.CompactDirections Property

Compact directions for each resulting route.

[Visual Basic .NET]
Public ReadOnly Property CompactDirections As INACompactStreetDirections[]
[C#]
public INACompactStreetDirections[] CompactDirections {get;}
[C++]
HRESULT get_CompactDirections(
  SAFEARRAY(INACompactStreetDirections)** Directions
);
[C++]
Parameters
Directions [out, retval]

Directions is a parameter of type SAFEARRAY(INACompactStreetDirections*)*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

CompactDirections returns an array of INACompactStreetDirections used to retrieve the directions for each Route. These directions contain less information and compressed geometries representing the traversed streets. Due to their smaller size, these directions are better suited for passing across low bandwidth connections than the directions in INAServerRouteResults.Directions.

See Also

INAServerRouteResults2 Interface