OLEFormat Interface
Represents the OLE characteristics (other than linking) for an OLE object, ActiveX control, or field.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
<GuidAttribute("00020933-0000-0000-C000-000000000046")> _
Public Interface OLEFormat
'Usage
Dim instance As OLEFormat
[GuidAttribute("00020933-0000-0000-C000-000000000046")]
public interface OLEFormat
Remarks
Use the OLEFormat property for a Shape, InlineShape, or Field object to return the OLEFormat object.
Not all types of shapes, inline shapes, and fields have OLE capabilities. Use the Type property for the Shape and InlineShape objects to determine what category the specified shape or inline shape falls into. The Type property for a Field object returns the type of field.
You can use the Activate, Edit, Open, and DoVerb methods to automate an OLE object.
Use the Object property to return an object that represents an ActiveX control or OLE object. With this object, you can use the properties and methods of the container application or the ActiveX control.