Skip to main content
All docs
V23.2

ShapeCollection.InsertOleObjectAsIcon Method

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