This document is archived and information here might be outdated. Recommended version. |
The network analysis window.
Interfaces | Description |
---|---|
IAcceleratorHook (esriFramework) | Provides access to a means to decide if a virtual key should act as an accelerator. |
IActiveViewEvents (esriCarto) | Provides access to events that occur when the state of the active view changes. |
IConnectionPointContainer (esriDisplay) | |
IDocumentEvents (esriArcMapUI) | Provides access to events that occur in ArcMap. |
INAContextEvents (esriNetworkAnalyst) | Provides access to events triggered by the network analysis context. |
INAContextEvents2 (esriNetworkAnalyst) | Provides access to events triggered by the network analysis context. |
INALayerEvents (esriNetworkAnalyst) | Provides access to events triggered by the network analysis layer. |
INAWindow | Provides access to the network analysis window. |
INAWindow2 | Provides access to the network analysis window. |
INAWindowEvents | Provides access to events triggered by the network analysis window. |
IObjectClassEvents (esriGeoDatabase) | Provides access to events that occur with an object class. |
IPersistStream (esriSystem) | |
ISelectionEvents (esriCarto) | Provides access to events that occur when the selection changes. |
IWorkspaceEditEvents (esriGeoDatabase) | Provides access to events that occur to a workspace in the context of editing it. |
The NAWindow is a dockable window in ArcMap that helps users manage the NALayers containing the problem definition and NAClasses of NALocationObjects/NALocationFeatures.
This code shows how to get the NAWindow from the Network Analyst extension.
public INAWindow GetNAWindow(IApplication app)
{
INetworkAnalystExtension networkAnalystExtension = app.FindExtensionByName("Network Analyst") as INetworkAnalystExtension;
return networkAnalystExtension.NAWindow;
}
This code shows how to get the NAWindow from the Network Analyst extension.
Public Function GetNAWindow(ByVal app As IApplication) As INAWindow
Dim networkAnalystExtension As INetworkAnalystExtension = app.FindExtensionByName("Network Analyst")
Return networkAnalystExtension.NAWindow
End Function