PowerPoint to PDF Android

PDF has become a standard format for sharing documents over the internet, therefore, files of various formats are converted to PDF. PowerPoint PPTX or PPT to PDF is a popular conversion scenario in which slides in a PowerPoint presentation are converted to pages in a PDF. In this article, you will learn how to perform PowerPoint PPTX/PPT to PDF conversion from within your Android apps.

Android API for PPTX to PDF Conversion

For converting the PowerPoint presentations to PDF in Android apps, we’ll use Aspose.Slides for Android via Java. It is a feature-rich Android API that lets you create, modify and convert presentations seamlessly. You can either download the API from the downloads section or install it by adding the following configurations in build.gradle.

maven {
    url "http://repository.aspose.com/repo/" }
compile (
        group: 'com.aspose',
        name: 'aspose-slides',
        version: '21.3',
        classifier: 'android.via.java')

Convert PowerPoint PPTX to PDF in Android

The following are the steps to convert a PowerPoint presentation to PDF in Android.

The following code sample shows how to convert a PPTX file to PDF in Android apps.

Additional Options for PPTX to PDF Conversion

Aspose.Slides also allows you to customize PPTX to PDF conversion using different options. For example, you can set text compression, image quality, PDF compliance, the option to include or exclude hidden slides, etc. To achieve this, the API provides PdfOptions class.

The following are the steps to customize the PPTX/PPT to PDF conversion.

The following code sample shows how to customize PPTX to PDF conversion.

Get a Free API License

You can get a free temporary license in order to use the API without evaluation limitations.

Conclusion

In this article, you have learned how to convert PowerPoint PPTX/PPT presentations to PDF in Android apps. Furthermore, you have seen how to customize the PPTX to PDF conversion using different options. You can explore more about the API using documentation. In addition, you can share your queries with us via our forum.

See Also

Tip: You may try to check out Aspose PowerPoint to PDF or PPT to PDF Converter.