Wiki

Clone wiki

Aspose for Apache POI / Clone-PPT-Slide

Aspose.Slides

//Instantiate Presentation class that represents a PPTX file
Presentation pres = new Presentation("data/presentation.pptx");

//Clone the desired slide to the end of the collection of slides in the same PPTX
ISlideCollection slds = pres.getSlides();
slds.addClone(pres.getSlides().get_Item(0));

Download Source Code

Updated