Skip to main content
All docs
.NET Framework 4.5.2+

DrawingObject.OleFormat Property

Returns the OLE object’s characteristics.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core


OleFormat OleFormat { get; }

Property Value

Type Description

An object that contains OLE object settings.


Use the OleFormat property to obtain OLE object characteristics and extract embedded data. The Shape.Type property helps you distinguish between different drawing object types in the document.

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