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


IDocumentEventsDisp Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > ID > IDocumentEventsDisp Interface
ArcGIS Developer Help

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

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

Classes that implement IDocumentEventsDisp

Classes Description
MxDocument Esri Mx Document.