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


IEngineNetworkAnalystEnvironment Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineNetworkAnalystEnvironment Interface
ArcGIS Developer Help

IEngineNetworkAnalystEnvironment Interface

Provides access to the network analyst extension.

Product Availability

Available with ArcGIS Engine.

Description

The IEngineNetworkAnalystEnvironment interface is the main interface on the EngineNetworkAnalystEnvironment singleton object and used to access the INetworkLayer objects and the NAWindow.

Members

Name Description
Read/write property CurrentNetworkLayer The current network layer.
Read-only property NAWindow The network analysis window.
Read-only property NetworkLayer The network layer by index.
Read-only property NetworkLayerCount The number of network layers.
Read/write property ShowAnalysisMessagesAfterSolve The types of messages that are displayed after solving.
Read/write property ZoomToResultAfterSolve Indicates if the window should zoom the map to show results after solving.

Classes that implement IEngineNetworkAnalystEnvironment

Classes Description
EngineNetworkAnalystEnvironment A singleton object representing Engine Network Analyst environment.
[C#]

System.Type t = System.Type.GetTypeFromProgID("esriControls.EngineNetworkAnalystEnvironment");
var naEnv = System.Activator.CreateInstance(t) as IEngineNetworkAnalystEnvironment;

.NET Samples

ArcGIS Network Analyst extension Engine application ArcGIS Network Analyst extension Engine application ArcGIS Network Analyst extension Engine application ArcGIS Network Analyst extension Engine application ArcGIS Network Analyst extension Engine application ArcGIS Network Analyst extension Engine application