Skip to main content
A newer version of this page is available. .
All docs
V20.2
.NET Framework 4.5.2+

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 content type associated with the OLE object.
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