Converting Presentation to PDF using Aspose.Slides
Contents
[
Hide
]
Aspose.Slides - Conversion of 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.
Converting presentation to PDF
Java
//Instantiate a Presentation object that represents a presentation file
Presentation pres = new Presentation("presentation.pptx");
//Saving the presentation to PDF document with default options
pres.save("AsposeConvert.pdf", SaveFormat.Pdf);
Download Running Code
Download Sample Code
For more details, visit Converting Presentation to PDF.