ArcObjects Library Reference

Statements - Get NAWindow Snippet

Get the NAWindow from the Network Analyst extension.

[C#]

//<-- Snippet Start -->
// DESCRIPTION:
// Get the NAWindow from the Network Analyst extension

ESRI.ArcGIS.NetworkAnalystUI.INAWindow2 naWindow = naExtension.NAWindow as ESRI.ArcGIS.NetworkAnalystUI.INAWindow2;

//<-- Snippet End -->
[Visual Basic .NET]

' <-- Snippet Start -->
' DESCRIPTION:
' Get the NAWindow from the Network Analyst extension

Dim naWindow As ESRI.ArcGIS.NetworkAnalystUI.INAWindow2 = CType(naExtension.NAWindow,ESRI.ArcGIS.NetworkAnalystUI.INAWindow2)

' <-- Snippet End -->


Additional Requirements
  • The code in this document requires the following References added to the Visual Studio project:
  • ESRI.ArcGIS.NetworkAnalystUI