Hi,
Iam new to this Aspose.Slide.
Basically iam trying to save the slide as .ppt file.
With the following code, i have got the no. of slides from Presentation.
File file1 = new File("D:\\Samp.ppt");
Presentation ppt1 = new Presentation(new FileInputStream(file1));
Slides slides = ppt1.getSlides();
for (int i = 0; i < slides.size(); i++) {
FileOutputStream fos = new FileOutputStream("d://input/slide-" + (i+1) + ".ppt",true );
//Presentation slideData = slides.get(i).getParent();
//slideData.write(fos);
Slide s1= slides.get(i);
//TODO: How to save this s1as slide1.ppt in my local folder.
}
Basically iam looking for write option on Slide.
Could you please anyone suggest me how to do this?
Thanks,
Mohans