Skip to main content
All docs
.NET Framework 4.5.2+

NestedShapeCollection.AddOleObject(String, DocumentImageSource, PointF) Method

Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core


NestedShape AddOleObject(
    string fileName,
    DocumentImageSource presentation,
    PointF location


Name Type Description
fileName String

A path to the file associated with the OLE object.

presentation DocumentImageSource

The source for the image that displays OLE object content.

location PointF

An object that defines the object’s location (relative to the top left corner of the parent object). The Document.Unit property specifies measurement units.


Type Description

The OLE object in the group or drawing canvas.

See Also