Sure, you can. All these things can be done through creating empty presentation and cloning slides.
This short example will save all slides as separate ppt files:
for (int i = 1; i <= srcPres.Slides.LastSlidePosition; i++)
{
// Create new presentation and clone slide
Presentation newPres = new Presentation();
srcPres.CloneSlide(srcPres.GetSlideByPosition(i), 2, newPres, new SortedList());
// Delete first empty slide
newPres.Slides.Remove(newPres.GetSlideByPosition(1));
// Save created presentation with one slide to a new file
newPres.Write("slide" + i + ".ppt");
}
Alexey Zhilin
Team Leader
Aspose Tyumen Team
About Us Contact Us