Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.