All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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).
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