Insert a picture from file in PowerPoint presentation RRS feed

  • Question

  • The goal here is to insert an image on a slide from a file (using Open XML SDK 2.0). There are examples of replacing images on a slide, but in this case, I simply need to add the image to a slide from a file. I can see from the document reflector tool that the file is added to a slide as an element on its own (e.g., /ppt/media/image2.jpeg), but the question is how to get it there as well as setting up the proper relationship in the code. The end result, from the document reflector tool is that the encoded content is placed in the (for example) /ppt/media/image2.jpeg element. Thanks.
    Monday, August 10, 2009 3:07 PM