Converting Presentation to PDF in Aspose.Slides

Aspose.Slides - Converting Presentation to PDF

Aspose.Slides for Java offers the Presentation class that represents a presentation file. The Presentation class exposes the Save method that can be called to convert the whole presentation into a PDF document. The PdfOptions class provides options for creating the PDF such as JpegQuality, TextCompression, Compliance and others. These options can be used to get the desired standard of PDF.


 //Instantiate a Presentation object that represents a PPT file

Presentation pres = new Presentation(dataDir + "presentation.ppt");

//Saving the presentation to PDF document + "AsposeConvert.pdf", SaveFormat.Pdf);

Download Running Code

Download Sample Code