Skip to main content
All docs
V24.2

NestedShapeCollection.AddOleObject Method

Name Parameters Description
AddOleObject(Stream, String, DocumentImageSource, PointF) stream, progId, presentation, location Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image.
AddOleObject(Stream, String, DocumentImageSource, RectangleF) stream, progId, presentation, bounds Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image.
AddOleObject(Stream, String, Image, PointF) stream, progId, presentation, location Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image.
AddOleObject(Stream, String, Image, RectangleF) stream, progId, presentation, bounds Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image.
AddOleObject(String, DocumentImageSource, PointF) fileName, presentation, location Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image.
AddOleObject(String, DocumentImageSource, RectangleF) fileName, presentation, bounds Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image.
AddOleObject(String, Image, PointF) fileName, presentation, location Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image.
AddOleObject(String, Image, RectangleF) fileName, presentation, bounds Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image.
AddOleObject(String, String, DocumentImageSource, PointF) fileName, progId, presentation, location Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image.
AddOleObject(String, String, DocumentImageSource, RectangleF) fileName, progId, presentation, bounds Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image.
AddOleObject(String, String, Image, PointF) fileName, progId, presentation, location Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image.
AddOleObject(String, String, Image, RectangleF) fileName, progId, presentation, bounds Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image.