package com.aspose.slides.examples.Presentation.Saving;
import com.aspose.slides.Presentation;
import com.aspose.slides.examples.Utils;
public class SavingAPresentation {
public static void main(String[] args) {
// The path to the documents directory.
String dataDir = Utils.getDataDir(SavingAPresentation.class);
// Saving a Presentation to File
// Instantiate a Presentation object that represents a PPT file
Presentation pres = new Presentation();
// ...do some work here...
// Save your presentation to a file
pres.save(dataDir + "demoPass.pptx", com.aspose.slides.SaveFormat.Pptx);
}
}