Power Point: Retrieving A particular Slide RRS feed

  • Question

  • When retrieving the slide parts of a PPTX package by using:


    Code Block


    PresentationPart presentationPart = pptPackage.PresentationPart;

    List<SlidePart> slideParts = new List<SlidePart>();




    The slideParts List doesn't have the slides in order. That is, accessing slideParts[0] won't get me the first slide of the document (1 out of 20, p.e.), but the first slide as they appear in  /ppt/presentation.xml.


    Is there a way to retrieve a specific slide by it's slide number, as shown in the Power Point Document (such as the slide 10 out of 20) by using the API? Do I have to manually get the slide at /ppt/slides/slide10.xml ?


    Thanks in advance,

    Wednesday, November 14, 2007 7:27 PM