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


INAServerRouteParams2.ReturnCompactDirections Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAServerRouteParams2.ReturnCompactDirections Property

Indicates if compact directions should be generated and returned with the analysis results.

[Visual Basic .NET]
Public Property ReturnCompactDirections As Boolean
[C#]
public bool ReturnCompactDirections {get; set;}
[C++]
HRESULT get_ReturnCompactDirections(
  VARIANT_BOOL* ReturnCompactDirections
);
[C++]
HRESULT put_ReturnCompactDirections(
  VARIANT_BOOL ReturnCompactDirections
);
[C++]

Parameters ReturnCompactDirections [out, retval] ReturnCompactDirections is a parameter of type VARIANT_BOOL ReturnCompactDirections [in] ReturnCompactDirections is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

ReturnCompactDirections specifies if compact directions are calculated during solve and returned in INAServerRouteResults2::CompactDirections.  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 returned by ReturnDirections.

See Also

INAServerRouteParams2 Interface