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

IMapFrameEvents Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapFrameEvents Interface
ArcGIS Developer Help

IMapFrameEvents Interface

Provides access to the events that occur when the state of the map frame changes.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

When To Use

Use the IMapFrameEvents to listen for the event of the frame being resized.  This interface is implemented by both the MapFrame and the MapSurroundFrame coclasses.  Whenever objects of these types are resized, the event is fired and code that has been implemented for the event is executed.


Name Description
Method MapFrameResized Occurs when a map frame is resized.

Classes that implement IMapFrameEvents

Classes Description
MapFrame A graphic element for displaying maps.
MapFrameEventsListener (esriSystemUtility) Helper coclass to provide IMapFrameEvents support to the C++ API.
MapSurroundFrame A graphic element for displaying map surrounds.