Examples

Convert Powerpoint to PDF

DynamicPDF Converter can easily convert a Microsoft Powerpoint file into a PDF document.

How to convert Powerpoint to PDF in C#

The following steps and sample code illustrate converting Powerpoint to PDF using DynamicPDF Converter.

Steps for converting Powerpoint to PDF (Convert)

  1. Generate the PDF using the static method Convert by passing the existing powerpoint file and PDF file to be created.

Sample Code - C#

Converter.Convert("DocumentA.pptx", "DocumentA.pdf");

Steps for converting Powerpoint to PDF (PowerPointConversionOptions)

  1. Create a PowerPointConversionOptions object to set the options.
  2. Create a PowerPointConverter object by specifying the Excel file and the options.
  3. Invoke the Convert method on the PowerPointConverter and specify the PDF file name.

Sample Code - C#

PowerPointConversionOptions options = new PowerPointConversionOptions(false);
PowerPointConverter pptConverter = new PowerPointConverter("DocumentA.pptx"), options);
pptConverter.Convert("DocumentA.pdf");

GitHub Project

Clone or view the example project at GitHub. This example on this page is in the PptFileConversion.cs file. Examples are provided for both C# and VB.NET.

Clone or View Example Project on GitHub

Getting Started

Get started by installing the NuGet package or referring to the online documentation.

NuGet Package

DynamicPDF Converter is available on NuGet and is part of the ceTe.DynamicPDF.Converter.NET package. The easiest way to install the DynamicPDF Converter package is by using the Visual Studio Package Manager. However, you can also download it directly from NuGet.

NuGet Package ID: ceTe.DynamicPDF.Converter.NET

DynamicPDF Core Suite Information

More information can be found at the DynamicPDF Converter webpage.

Why Choose DynamicPDF?

  • Transparent Pricing
  • Lots of Features
  • Easy to Use
  • Great Support
  • Efficient Performance
  • Product Maturity (Over 22 Years)
  • Free Evaluation
  • .NET Core Support (Most Products)
  • Flexible Licensing

We’re Not The Only Ones That Think We’re Great!