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


INAServerClosestFacilityParams2.ReturnCompactDirections Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAServerClosestFacilityParams2.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 INAServerClosestFacilityResults2::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

INAServerClosestFacilityParams2 Interface