Examples

Convert PowerPoint to PDF

DynamicPDF Converter for .NET can easily convert a Microsoft PowerPoint file to a PDF document. The following C# example shows you how.

How to Convert PowerPoint to PDF

The following steps and C# sample code illustrate converting PowerPoint to PDF using DynamicPDF Converter for .NET.


Steps to convert PowerPoint to PDF (using static Converter)


  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 to convert PowerPoint to PDF (using PowerPointConverter)


  1. Create a PowerPointConversionOptions instance and set its options.
  2. Create a PowerPointConverter instance by specifying an Excel file and PowerPointConversionOptions instance.
  3. Invoke the PowerPointConverter instance's Convert method specifying the file name to save the converted PDF.

Sample Code - C#


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

GitHub Project

Examples are provided in C# and VB.NET. Clone or view the example project at GitHub.


Clone or View Example Project on GitHub

Getting Started

Get started easily by installing DynamicPDF Converter for .NET through NuGet or manually. Then, refer to the documentation for more information on using and purchasing.


NuGet Package


The easiest way to install DynamicPDF Converter for .NET is by obtaining the NuGet package using Visual Studio's Package Manager. You can also obtain the NuGet package by downloading it directly. Refer to the installation documentation for more information.

NuGet Package ID: ceTe.DynamicPDF.Converter.NET


More Information on PowerPoint Conversion



DynamicPDF Converter Information


DynamicPDF Converter for .NET allows any .NET developer to dynamically convert many common file formats to PDF documents in real-time. It supports converting over 50 file types to PDF, including HTML and MS Office formats. The software supports events, enabling developers to easily and accurately handle both successful and failed conversions. It is intuitive and seamlessly integrates with all our DynamicPDF products. With a Free Evaluation Edition to try, why not start using DynamicPDF Converter Today!


More information on DynamicPDF Converter for .NET

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!