ArcObjects Component Help  (Core)    

MapFrame CoClass

A graphic element for displaying maps.

Interfaces

Interfaces Description
IActiveViewEvents Provides access to events that occur when the state of the active view changes.
IBoundsProperties Provides access to members that control Bounds Properties.
IClone Provides access to members that control cloning of objects.
IConnectionPointContainer
IDisplayAdmin Provides access to members that control display administration.
IDisplayEvents Provides access to members that control Display Events.
IElement Provides access to members that control the Element.
IElementProperties Provides access to members that control the Element Properties.
IElementProperties2 Provides access to members that control More Element Properties.
IFrameDraw Provides access to members that control frame drawing.
IFrameElement Provides access to members that control the Frame element object.
IFrameProperties Provides access to members that control the General properties for a frame.
IGraphicsComposite Provides access to members that control objects that are composed of graphic elements.
IGraphicsContainerProperty Provides access to members that control Graphics Container Properties.
IMapFrame Provides access to the members that control the map element object.
IMapGrids Provides access to members that control the map grids in a data frame.
IPersistStream
IPropertySupport Provides access to members that set a default property on an object.
ITransform2D Provides access to methods for transforming geometries using either specific parameters or arbitrary transformation objects (affine transformations, geographic transformations, etc.).
ITransformEvents Provides access to members that control Transform Events.

Event Interfaces

Interfaces Description
IMapFrameEvents (default) Provides access to the events that occur when the state of the map frame changes.

Remarks

The default interface for a MapFrame obect is IMapFrame, which inherits from IFrameElement.  The object also implements the IMapGrids and IMapFrameEvents interfaces (the MapFrame object is an event source).  A MapFrame object holds a map.

This object can be used to obtain the map within, or to manipulate the locator rectangles found within the frame.


 

Working with Events

[VB6]

When working with MapFrame's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pMapFrame as MapFrame

See Also

IFrameElement Interface | IOleFrame Interface | IMapSurroundFrame Interface

Example

MapFrame Example