Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 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 Interface

    Contains OLE object characteristics.

    Namespace: DevExpress.XtraRichEdit.API.Native

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

    NuGet Package: DevExpress.RichEdit.Core

    #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