This document is archived and information here might be outdated. Recommended version. |
Provides access to the network analyst extension.
The IEngineNetworkAnalystEnvironment interface is the main interface on the EngineNetworkAnalystEnvironment singleton object and used to access the INetworkLayer objects and the NAWindow.
Name | Description | |
---|---|---|
CurrentNetworkLayer | The current network layer. | |
NAWindow | The network analysis window. | |
NetworkLayer | The network layer by index. | |
NetworkLayerCount | The number of network layers. | |
ShowAnalysisMessagesAfterSolve | The types of messages that are displayed after solving. | |
ZoomToResultAfterSolve | Indicates if the window should zoom the map to show results after solving. |
CoClasses and Classes | Description |
---|---|
EngineNetworkAnalystEnvironment | A singleton object representing Engine Network Analyst environment. |
System.Type t=System.Type.GetTypeFromProgID("esriControls.EngineNetworkAnalystEnvironment");
var naEnv=System.Activator.CreateInstance(t) as IEngineNetworkAnalystEnvironment;