Convert POTX Files to PDF in Python
Render a PowerPoint Open XML template as a fixed-layout PDF document with Aspose.Slides for Python via Java.
Convert POTX to PDF in Python
Aspose.Slides for Python via Java
can load a PowerPoint Open XML template (POTX) and render its slides as a fixed-layout PDF document. The resulting file preserves the visual appearance of the slides and does not require Microsoft PowerPoint.
Convert POTX to PDF using Python
Create a Presentation from the POTX file, then call save with SaveFormat.Pdf.
Python code for converting POTX to PDF
presentation = Presentation("presentation.potx")
try:
presentation.save("presentation.pdf", SaveFormat.Pdf)
finally:
presentation.dispose()
How to convert POTX to PDF in Python
Follow these steps to render a POTX file as a PDF document.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source POTX file with
Presentation.Call
savewithSaveFormat.Pdfto create the PDF document.
Convert POTX to Other Supported Formats
You can also convert POTX presentation templates to other supported file formats.