All docs
V21.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

DrawingObject.OleFormat Property

Returns the OLE object’s characteristics.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

OleFormat OleFormat { get; }

Property Value

Type Description
OleFormat

An object that contains OLE object settings.

Remarks

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