I am creating an application in C# (using OpenXML) that based on a PowerPoint template iterates through the slides and replaces all images with SSRS-reports.
This works perfect for images, but one of the elements is an embedded excel sheet which should be editable directly in the presentation (content based on an SSRS report). I am able to render the report and embed it in the PowerPoint presentation, but I cannot work out how to update the "excel preview image" that come along with the embedded excel sheet. This is first updated when entering and exiting the excel sheet in the generated pptx.
The preview image is located at \ppt\media\image.emf (when unzipping the presentation), and I can see the image being updated when entering/exiting as described above. I have converted the excel-sheet to a image so the only bit is to locate and replace this original image.
So how do I access and update this image directly from c#? I have tried several different approaches, but I havent been able to locate the image.. Just knowing which class this image is would be of great help.