Back to Devexpress

OleFormat Members

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-oleformat-dot-underscore-members.md

latest2.7 KB
Original Source

OleFormat Members

Contains OLE object characteristics.

Properties

NameDescription
AutoUpdateReturns or specifies whether the OLE object’s link is automatically updated when the document is opened in Microsoft® Word®.
InsertTypeIndicates whether the OLE object is embedded in the document or linked to a file.
IsLockedReturns or specifies whether a linked OLE object can be updated.
ObjectRepresentationIndicates how the OLE object is displayed in the document (as an image or an icon).
OlePackageReturns properties for the OLE object of the Package type.
ProgIdReturns the programmatic identifier for an OLE object or ActiveX control. Inherited from ObjectFormatBase.
SourceFileNameReturns the path to the source file associated with the linked OLE object.

Methods

NameDescription
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

OleFormat Interface

DevExpress.XtraRichEdit.API.Native Namespace