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


INAODCostMatrixSolver.OutputLines Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAODCostMatrixSolver.OutputLines Property

Indicates how lines are generated.

[Visual Basic .NET]
Public Property OutputLines As esriNAOutputLineType
[C#]
public esriNAOutputLineType OutputLines {get; set;}
[C++]
HRESULT get_OutputLines(
  esriNAOutputLineType* Value
);
[C++]
HRESULT put_OutputLines(
  esriNAOutputLineType Value
);
[C++]

Parameters Value [out, retval]
Value is a parameter of type esriNAOutputLineType* Value [in]
Value is a parameter of type esriNAOutputLineType

Product Availability

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

Errors Returned

OutputLines returns an error if you attempt to set it to any value other than no lines or straight lines.

Remarks

OutputLines specifies the type of lines that are generated by the NAODCostMatrixSolver object.

The only two valid line types for a NAODCostMatrixSolver are esriNAOutputLineNone or esriNAOutputLineStraight.  The determined path from an origin to a destination is a true network path, but the only allowed representation of that path is a straight line or no lines at all.

See Also

INAODCostMatrixSolver Interface

.NET Snippets

Set OD Cost Matrix Properties | Statements - Set OD Cost Matrix Properties

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties)