Back to Devexpress

OleFormat Interface

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-75a5bed8.md

latest3.1 KB
Original Source

OleFormat Interface

Contains OLE object characteristics.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[ComVisible(true)]
public interface OleFormat :
    ObjectFormatBase
vb
<ComVisible(True)>
Public Interface OleFormat
    Inherits ObjectFormatBase

The following members return OleFormat objects:

Remarks

An OleFormat object allows you to obtain OLE object characteristics and extract embedded data. Use the Shape.Type property to determine whether a drawing object is an OLE object.

MemberDescription
OleFormat.InsertTypeIndicates whether the OLE object is embedded in the document or linked to an external file.
OleFormat.ObjectRepresentationIndicates how the OLE object is displayed in the document (as an image or an icon).
OleFormat.ProgIdReturns the content type associated with the OLE object.
OleFormat.SourceFileNameReturns a path to the source file associated with the linked OLE object.
OleFormat.AutoUpdateSpecifies whether to automatically update the linked OLE object.
OleFormat.IsLockedSpecifies whether the linked OLE object can be updated.
OleFormat.ChangeRepresentationChanges how the OLE object is displayed in the document.
OleFormat.OlePackageReturns properties for the OLE object of the Package type.
OleFormat.GetRawDataReturns the embedded OLE object’s raw data.
OleFormat.SaveAsSaves data of the embedded OLE object to a file.

See Also

OleFormat Members

DevExpress.XtraRichEdit.API.Native Namespace