Skip to main content
All docs
V24.1

OleFormat Members

Contains OLE object characteristics.

Properties

Name Description
AutoUpdate Returns or specifies whether the OLE object’s link is automatically updated when the document is opened in Microsoft® Word®.
InsertType Indicates whether the OLE object is embedded in the document or linked to a file.
IsLocked Returns or specifies whether a linked OLE object can be updated.
ObjectRepresentation Indicates how the OLE object is displayed in the document (as an image or an icon).
OlePackage Returns properties for the OLE object of the Package type.
ProgId Returns the programmatic identifier for an OLE object or ActiveX control. Inherited from ObjectFormatBase.
SourceFileName Returns the path to the source file associated with the linked OLE object.

Methods

Name Description
ChangeRepresentation(OleObjectRepresentationType, DocumentImageSource) Changes the display style for the OLE object.
ChangeRepresentation(OleObjectRepresentationType, Image) Changes the display style for the OLE object.
GetRawData() Returns the embedded OLE object’s raw data.
SaveAs(Stream) Saves data of the embedded OLE object to a stream.
SaveAs(String) Saves data of the embedded OLE object to a file.
See Also