Back to Devexpress

OleFormat.ObjectRepresentation Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-oleformat-6d61f145.md

latest1.7 KB
Original Source

OleFormat.ObjectRepresentation Property

Indicates how the OLE object is displayed in the document (as an image or an icon).

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
OleObjectRepresentationType ObjectRepresentation { get; }
vb
ReadOnly Property ObjectRepresentation As OleObjectRepresentationType

Property Value

TypeDescription
OleObjectRepresentationType

An enumeration member that defines the OLE object’s display style.

|

Available values:

NameDescription
Content

The OLE object is displayed as an image.

| | Icon |

The OLE object is displayed as an icon.

|

Remarks

Use the OleFormat.ChangeRepresentation method to change how an OLE object is displayed in the document.

See Also

OleFormat Interface

OleFormat Members

DevExpress.XtraRichEdit.API.Native Namespace