Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

OleFormat Members

In This Article
Contains OLE object characteristics.

#Properties
Show Inherited Hide Inherited

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