-
Notifications
You must be signed in to change notification settings - Fork 5
Create New Presentation
shoaibkhan-aspose edited this page Apr 21, 2014
·
2 revisions
//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();
//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
For further releases and updates, please follow these new repositories:
- Aspose.Words Java for Apache POI
- Aspose.Cells Java for Apache POI
- Aspose.Slides Java for Apache POI
- Aspose.Email Java for Apache POI
- For documentation, please visit Aspose Docs.
- Raise your queries and suggest more examples via Aspose Forums or via new social coding sites.