Apache POI SL

//create a new empty slide show
SlideShow ppt = new SlideShow();

//add first slide
Slide s1 = ppt.createSlide();

//add second slide
Slide s2 = ppt.createSlide();

Aspose.Slides

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

//Add Slide
ISlide slide = pres.getSlides().addEmptySlide(pres.getLayoutSlides().get_Item(0));


Download Source Code

Last edited Aug 29, 2014 at 5:53 AM by shoaibkhan, version 2