ArcObjects Library Reference (NetworkAnalystUI)  

INetworkAnalystExtension.NAWindow Property

The network analysis window.

[Visual Basic .NET]
Public ReadOnly Property NAWindow As INAWindow
[C#]
public INAWindow NAWindow {get;}

Product Availability

Available with ArcGIS Desktop. Requires Network Analyst Extension.

Remarks

The NAWindow property returns the Network Analyst Window.

[C#]

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;
}
[Visual Basic .NET]

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

See Also

INetworkAnalystExtension Interface

.NET Snippets

Get NAWindow2 | Get Active Analysis Layer | Statements - Get Active Analysis Layer | Statements - Get NAWindow |

.NET Samples

Export any network analysis class to a text file (Code Files: NAClassToTextfileCmd) | Network Analyst barrier location editor (Code Files: NABarrierLocationEditor) | Subset network evaluators (Code Files: AutoUpdateNetworkElementArrayParametersCommand SubsetHelperUI) | Using the traversal result to select source features (Code Files: SelectFeaturesTool) |

.NET Related Topics

NetworkAnalystUI |