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+

ShapeCollection.InsertOleObject Method

Name Parameters Description
InsertOleObject(DocumentPosition, Stream, String, DocumentImageSource) pos, stream, progId, presentation Inserts an OLE object that stores data from the specified file. The object is displayed in the document as an image.
InsertOleObject(DocumentPosition, Stream, String, Image) pos, stream, progId, presentation Inserts an OLE object that stores data from the specified file. The object is displayed in the document as an image.
InsertOleObject(DocumentPosition, String, DocumentImageSource) pos, fileName, presentation Inserts an OLE object that contains a link to the specified file. The object is displayed in the document as an image.
InsertOleObject(DocumentPosition, String, Image) pos, fileName, presentation Inserts an OLE object that contains a link to the specified file. The object is displayed in the document as an image.
InsertOleObject(DocumentPosition, String, String, DocumentImageSource) pos, fileName, progId, presentation Inserts an OLE object that contains a link to the specified file. The object is displayed in the document as an image.
InsertOleObject(DocumentPosition, String, String, Image) pos, fileName, progId, presentation Inserts an OLE object that contains a link to the specified file. The object is displayed in the document as an image.