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


IDocumentEventsDisp Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (ArcMapUI)  

IDocumentEventsDisp Interface

Provides access to events that occur in ArcMap.

Product Availability

Available with ArcGIS Desktop.

When To Use

Use the IDocumentEventsDisp interface to perform some action when the ArcMap document events occur.

Members

Description
Event ActiveViewChanged Fired when the active view has changed.
Event BeforeCloseDocument Fired before a document is closed. Return True to abort the close process.
Event CloseDocument Fired when a document is closed.
Event MapsChanged Fired when a change is made to the map collection.
Event NewDocument Fired when a new document is created.
Event OnContextMenu Indicates if a context menu should be displayed at the given xy location. Return true if handled.
Event OpenDocument Fired when a document is opened.
Event VBAReset Fired when VBA is reset.

CoClasses that implement IDocumentEventsDisp

CoClasses and Classes Description
MxDocument Esri Mx Document.