All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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.