VIDEOS

How to Convert Powerpoint (PPT) to PDF in C#

Regan Pun
Regan Pun
April 11, 2023
Share:


In this tutorial, learn to convert a PowerPoint presentation to a PDF using C# and Iron PDF within Visual Studio 2022. Start by uploading your PowerPoint file to Zamzar, an online tool, to convert it into an HTML file. Once the conversion is complete, download the HTML file, which will be in a zip format, containing all the necessary data. Switch to Visual Studio 2022, where Iron PDF is pre-installed via the NuGet Package Manager. The tutorial demonstrates using the ChromePdfRenderer class from Iron PDF to render the HTML file into a PDF document. Set the paper size to A2 and use a license key to activate Iron PDF's full features. The code then converts the HTML to a PDF and saves it to your file system. Running the project generates a PDF that maintains the PowerPoint's original formatting and responsiveness. The video concludes with an offer for further support if needed, ensuring users can easily recreate the process.

Further Reading: How to Convert Powerpoint (PPT) to PDF in C#

Get stated with IronPPT now.
green arrow pointer

Regan Pun
Software Engineer
Regan graduated from the University of Reading, with a BA in Electronic Engineering. Before joining Iron Software, his previous job roles had him laser-focused on single tasks; and what he most enjoys at Iron Software is the spectrum of work he gets to undertake, whether it’s adding value to sales, technical support, product development or marketing. He enjoys understanding the way developers are using the Iron Software library, and using that knowledge to continually improve documentation and develop the products.

Ready to get started? Version: 2025.4 just released

View Licenses >