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


INAServerClosestFacilityParams2.ReturnCompactDirections Property (ArcObjects .NET 10.4 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(
  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 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