Conversion to PDF

PDF documents are widely used as a standard format of exchanging documents between organizations, government sectors and individuals. It's a popular format so developers are often asked to convert Microsoft PowerPoint presentation files to PDF documents. Realizing this possible requirement, Aspose.Slides for .NET supports converting presentations to PDF documents without using any other component.

Aspose.Slides for .NET 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 presentation file
            PresentationEx pres = new PresentationEx("Conversion.ppt");
                //Save the presentation to PDF with default options
            pres.Save("Converted.pdf", Aspose.Slides.Export.SaveFormat.Pdf);

Download

Last edited Mar 3, 2014 at 5:23 AM by asposemarketplace, version 2