Menu

Create New Presentation

Shoaib

Apache POI SL

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

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

//save changes in a file
FileOutputStream out = new FileOutputStream("data/NewPPT_Apache.ppt");
ppt.write(out);
out.close();

Aspose.Slides

//Instantiate a Presentation object that represents a PPT file
Presentation pres = new Presentation();

//Writing the presentation as a PPT file
pres.write("data/NewPPT_Aspose.ppt");

Download Source Code


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.