ArcObjects Component Help  (Core)    

OleFrame CoClass

The OLE frame.

Interfaces

Interfaces Description
IBoundsProperties Provides access to members that control Bounds Properties.
IClone Provides access to members that control cloning of objects.
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.
IElementShutdown Provides access to members that control the IElementShutdown interface.
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.
IGraphicElement Provides access to members that control the Graphic Element object.
IOleFrame Provides access to the members that control the Graphic Element that holds an OLE object.
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.).

Remarks

Though it can house simple graphics (points, lines, polygons, etc.), the main purpose of the OleFrame object is to support other OLE objects such as Word documents, Excel spreadsheets, etc.  Use this object when you want to perform an operation (such as Edit) on the OLE object contained in the frame.
 

Example

OleFrame Example