Skip to main content
All docs
V24.2

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.