We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to export a PowerPoint presentation file as PDF file in C#, VB.NET

Syncfusion Essential Presentation is a .NET PowerPoint library used to create, open, read, edit, and export PowerPoint presentations. Using this library, you can export a PowerPoint presentation file as a PDF file in C# and VB.NET.

Steps to convert a PowerPoint presentation file as PDF document programmatically:

  1. Create a new C# console application.

  1. Install Syncfusion.Presentation.Base NuGet package to the console application project from nuget.org. For more information about adding a NuGet feed in Visual Studio and installing NuGet packages, refer to documentation.

  1. Install Syncfusion.OfficeChartToImageConverter.WPF NuGet package to the console application project from nuget.org.

  1. Install Syncfusion.PresentationToPdfConverter.Base NuGet package to the console application project from nuget.org.

  1. Include the following namespace in the Program.cs file.

 

 

  1. Use the following code snippet to convert a PowerPoint presentation file as PDF document.

 

 

You can download the working sample from Convert-PowerPoint-To-PDF.Zip.

By executing the program, you will get the PowerPoint document as follows.

 

An online sample link to convert a PowerPoint-presentation-to-PDF-document.

Take a moment to peruse the documentation, where you can find other options to format the text with code examples.  Refer here to explore the rich set of Syncfusion Essential Presentation features. Refer here to explore more PowerPoint presentation to PDF conversion options.

Note:

Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, include a license key in your projects. Refer to link to learn about generating and registering Syncfusion license key in your application to use the components without trail message.

Article ID: Published Date: Last Revised Date: Platform: Control:
9155 08/14/2018 08/21/2018 Windows Forms Presentation
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.