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


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

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(
  Boolean* ReturnCompactDirections
);
[C++]
Parameters
ReturnCompactDirections [in]

ReturnCompactDirections is a parameter of type bool ReturnCompactDirections [out, retval]
ReturnCompactDirections is a parameter of type 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