Back to Devexpress

DrawingObject.OleFormat Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-drawingobject-abf53d53.md

latest3.2 KB
Original Source

DrawingObject.OleFormat Property

Returns the OLE object’s characteristics.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
OleFormat OleFormat { get; }
vb
ReadOnly Property OleFormat As OleFormat

Property Value

TypeDescription
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.

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

DrawingObject Interface

DrawingObject Members

DevExpress.XtraRichEdit.API.Native Namespace