This document is archived and information here might be outdated.  Recommended version.


INAWindow Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalystUI)  

INAWindow Interface

Provides access to the network analysis window.

Product Availability

Available with ArcGIS Desktop. Requires Network Analyst Extension.

Members

Description
Method AbortOperation Cancels the operation in progress.
Read/write property ActiveAnalysis The current analysis shown in the window.
Read/write property ActiveCategory The current category shown in the window.
Read-only property CategoryByNAClassName The network analysis window category by NA class name.
Method DelayEvents Indicates if events should be delayed for a category.
Method DelayWindowUpdates Indicates if window updates should be delayed.
Read-only property hWnd The handle to the analysis window.
Read/write property ItemSelectionColor The color used for selected items.
Write-only property Message Displays a message at the bottom of the window.
Read-only property Selection The current selection in the window.
Method StartOperation Starts an analysis window operation.
Method StopOperation Stops an analysis window operation.
Method UpdateContent Refresh the window contents.

CoClasses that implement INAWindow

CoClasses and Classes Description
NAWindow The network analysis window.

Remarks

The INAWindow interface is the main interface on the NAWindow.  It provides methods to access the NALayer and to edit NAClasses within the context of an ArcMap undo/redo operation.

If editing NALocationObjects in NAClasses within ArcMap, you should use the edit operations on INAWindow rather than those on INAContextEdit to ensure that the undo/redo operations on the underlying NAClasses remain consistent with the undo/redo operations in ArcMap.

.NET Snippets

Get Active Analysis Layer | Clear NAClass | Clear Active Analysis Layer

.NET Samples

Subset network evaluators (Code Files: AutoUpdateNetworkElementArrayParametersCommand SubsetHelperUI)

.NET Related Topics

How to load data into a network analysis problem | NetworkAnalystUI