Compartilhar via


OLEFormat Object Members

Word Developer Reference

Represents the OLE characteristics (other than linking) for an OLE object, ActiveX control, or field.

Methods

  Name Description
Bb257642.methods(en-us,office.12).gif Activate Activates the specified OLEFormat object.
Bb257642.methods(en-us,office.12).gif ActivateAs Sets the Windows registry value that determines the default application used to activate the specified OLE object.
Bb257642.methods(en-us,office.12).gif ConvertTo Converts the specified OLE object from one class to another, making it possible for you to edit the object in a different server application, or changing how the object is displayed in the document.
Bb257642.methods(en-us,office.12).gif DoVerb Requests that an OLE object perform one of its available verbs — the actions an OLE object takes to activate its contents.
Bb257642.methods(en-us,office.12).gif Edit Opens the specified OLE object for editing in the application it was created in.
Bb257642.methods(en-us,office.12).gif Open Opens the specified OLEFormat object.

Properties

  Name Description
Bb257642.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257642.properties(en-us,office.12).gif ClassType Returns or sets the class type for the specified OLE object, picture, or field. Read/write String.
Bb257642.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257642.properties(en-us,office.12).gif DisplayAsIcon True if the specified object is displayed as an icon. Read/write Boolean.
Bb257642.properties(en-us,office.12).gif IconIndex Returns or sets the icon that is used when the DisplayAsIcon property is True. Read/write Long.
Bb257642.properties(en-us,office.12).gif IconLabel Returns or sets the text displayed below the icon for an OLE object. Read/write String.
Bb257642.properties(en-us,office.12).gif IconName Returns or sets the program file in which the icon for an OLE object is stored. Read/write String.
Bb257642.properties(en-us,office.12).gif IconPath Returns the path of the file in which the icon for an OLE object is stored. Read-only String.
Bb257642.properties(en-us,office.12).gif Label Returns a string that's used to identify the portion of the source file that's being linked. Read-only String.
Bb257642.properties(en-us,office.12).gif Object Returns an Object that represents the specified OLE object's top-level interface.
Bb257642.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified OLEFormat object.
Bb257642.properties(en-us,office.12).gif PreserveFormattingOnUpdate True preserves formatting done in Microsoft Word to a linked OLE object, such as a table linked to a Microsoft Excel spreadsheet. Read/write Boolean.
Bb257642.properties(en-us,office.12).gif ProgID Returns the programmatic identifier (ProgID) for the specified OLE object. Read-only String.