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


IEngineNetworkAnalystEnvironment.ZoomToResultAfterSolve Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IEngineNetworkAnalystEnvironment.ZoomToResultAfterSolve Property

Indicates if the window should zoom the map to show results after solving.

[Visual Basic .NET]
Public Property ZoomToResultAfterSolve As Boolean
[C#]
public bool ZoomToResultAfterSolve {get; set;}
[C++]
HRESULT get_ZoomToResultAfterSolve(
  VARIANT_BOOL* flag
);
[C++]
HRESULT put_ZoomToResultAfterSolve(
  VARIANT_BOOL flag
);
[C++]

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

Product Availability

Available with ArcGIS Engine.

Description

Indicates if the display will automatically zoom to the extent of the analysis results once the network analysis is complete. By deafult this property is false.

See Also

IEngineNetworkAnalystEnvironment Interface

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmMain frmNAProperties)