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)
Usage
Public Class lEFormatImplementation
Implements OLEFormat
End Class
Dim lEFormatImplementation1 As New lEFormatImplementation()
Syntax
Public Interface OLEFormat
public interface OLEFormat
public interface class OLEFormat
public interface OLEFormat
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.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Microsoft.Office.Interop.Word Namespace