This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > ID > IDocumentEventsDisp Interface (ArcObjects .NET 10.5 SDK) |
Provides access to events that occur in ArcMap.
Use the IDocumentEventsDisp interface to perform some action when the ArcMap document events occur.
Description | ||
---|---|---|
ActiveViewChanged | Fired when the active view has changed. | |
BeforeCloseDocument | Fired before a document is closed. Return True to abort the close process. | |
CloseDocument | Fired when a document is closed. | |
MapsChanged | Fired when a change is made to the map collection. | |
NewDocument | Fired when a new document is created. | |
OnContextMenu | Indicates if a context menu should be displayed at the given xy location. Return true if handled. | |
OpenDocument | Fired when a document is opened. | |
VBAReset | Fired when VBA is reset. |
CoClasses and Classes | Description |
---|---|
MxDocument | Esri Mx Document. |