officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-shapecollection-dot-insertoleobject.md
| 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. |