com.esri.arcgis.carto
Interface IMapFrameEvents

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
IMapFrameEventsAdapter, MapSurroundFrame

public interface IMapFrameEvents
extends EventListener, Serializable

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

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 void mapFrameResized(IMapFrameEventsMapFrameResizedEvent theEvent)
          Occurs when a map frame is resized.
 

Method Detail

mapFrameResized

void mapFrameResized(IMapFrameEventsMapFrameResizedEvent theEvent)
                     throws IOException,
                            AutomationException
Occurs when a map frame is resized.

Remarks

The MapFrameResized event is fired whenever the MapFrame or MapSurroundFrame is resized (depending on which object the event is being tracked for). Use the event to make updates to the contents of the frame that might depend on it's size.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
MapFrame