This document is archived and information here might be outdated. Recommended version. |
The network analysis window.
[Visual Basic .NET] Public ReadOnly Property NAWindow As INAWindow
[C#] public INAWindow NAWindow {get;}
The NAWindow property returns the Network Analyst Window.
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