Skip to main content
All docs
V23.2

NestedShapeCollection.AddOleObjectAsIcon Method

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