Skip to main content
All docs
V24.1

OleFormat Interface

Contains OLE object characteristics.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

[ComVisible(true)]
public interface OleFormat :
    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.

Member Description
OleFormat.InsertType Indicates whether the OLE object is embedded in the document or linked to an external file.
OleFormat.ObjectRepresentation Indicates how the OLE object is displayed in the document (as an image or an icon).
OleFormat.ProgId Returns the content type associated with the OLE object.
OleFormat.SourceFileName Returns a path to the source file associated with the linked OLE object.
OleFormat.AutoUpdate Specifies whether to automatically update the linked OLE object.
OleFormat.IsLocked Specifies whether the linked OLE object can be updated.
OleFormat.ChangeRepresentation Changes how the OLE object is displayed in the document.
OleFormat.OlePackage Returns properties for the OLE object of the Package type.
OleFormat.GetRawData Returns the embedded OLE object’s raw data.
OleFormat.SaveAs Saves data of the embedded OLE object to a file.
See Also