How can I retrieve images from a .pptx file using MS Open XML SDK?
I started experimenting with Open XML SDK 2.0 for Microsoft Office . I'm currently able to do certain things such as retrieve all texts in each slide, and get the size of the presentation. For example, I do the latter this way: using (var doc = PresentationDocument.Open(pptx_filename, false)) { var presentation = doc.PresentationPart.Presentation; Debug.Print("width: " + (presentation.SlideSize.Cx / 9525.0).ToString()); Debug.Print("height: " + (presentation.SlideSize.Cy / 9525.0).ToString()); } Now I'd like to retrieve embedded images in a given slide. Does anyone know how to do this or can