Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Syncfusion .NET PowerPoint Library (presentation) offers powerful APIs for programmatically converting PowerPoint files to PDF with minimal code in C#, without Microsoft PowerPoint or interop dependencies. Additionally, it facilitates converting PowerPoints to PDF/A format for archival and tagged PDFs compliant with Section 508 (PDF/UA).

Convert PowerPoints to PDF using C#

This example code shows how to convert a PowerPoint to PDF format using the Syncfusion .NET PowerPoint Library with just a few lines of code in C#.

using Syncfusion.Pdf;
using Syncfusion.Presentation;
using Syncfusion.PresentationRenderer;
//Open the PowerPoint file stream
using (FileStream fileStream = new FileStream("Template.pptx", FileMode.Open))
{
    //Load an existing PowerPoint Presentation
    using (IPresentation pptxDoc = Presentation.Open(fileStream))
    {
        //Convert PowerPoint into PDF document
        using (PdfDocument pdfDocument = PresentationToPdfConverter.Convert(pptxDoc))
        {
            //Save the PDF file to file system
            using (FileStream outputStream = new FileStream("PPTXToPDF.pdf", FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite))
            {
                pdfDocument.Save(outputStream);
            }
        }
    }
}

Key features of PowerPoint-to-PDF conversion

Handouts

Handouts are often printed to display more than one slide in a PDF page. The PowerPoint Library lets you select the number of slides per page to print to a PDF document.

Notes pages

Print notes pages as a PDF file with a slide thumbnail. This is useful when creating handouts of key points for an audience or preparing for presentations.

Skip or include hidden slides

This feature allows you to include or skip hidden slides when converting a PowerPoint presentation to PDF, giving you control over what content gets exported.

Accessible or tagged PDFs (PDF/UA)

Convert PowerPoint presentations into accessible, 508-compliant PDF/UA documents, ensuring proper accessibility for users with disabilities.

PDF conformance levels

Configure PDF conversion to comply with various conformance levels, including long-term archiving (PDF/A) and other standardized requirements.

Embed fonts

Embed fonts in a PDF to avoid font-related issues on different machines. You can choose to embed only used characters (reducing file size) or all characters.

Font substitution

Specify alternate fonts for missing ones during the conversion process, ensuring consistent appearance even when fonts are unavailable.

Fallback fonts

Configure fallback fonts for Unicode text to handle missing glyphs in specified fonts, ensuring correct rendering of all text.

PowerPoint-to-PDF conversion references

Discover resources from our knowledge base to enhance your efficiency in PowerPoint-to-PDF conversion:

Convert multiple Presentation into multiple PDFs and zip

Knowledge base

How to convert multiple PowerPoint presentations into multiple PDFs and zip the PDFs in C#

Resolve font problems during conversion of PowerPoints to PDFs or images

Knowledge base

How to resolve font problems during conversion of PowerPoints to PDFs or images

Syncfusion .NET PowerPoint Library Resources

Explore these resources for comprehensive guides, knowledge base articles, insightful blogs, and ebooks.

Frequently Asked Questions

The .NET PowerPoint Library supports converting only PPTX, PPTM, POTX, and POTM formats to PDF.

Yes, you can perform PowerPoint-to-PDF conversion in Linux and different cloud platforms like Azure, Amazon Web Services, and Google Cloud Platform using the .NET PowerPoint Library.

If required fonts aren’t installed, PowerPoint Library uses alternatives, possibly causing differences in generated PDFs. Refer to the documentation to resolve this issue.

Yes, you can programmatically open password-protected PowerPoint files and convert them to PDF using the .NET PowerPoint Library.

The .NET PowerPoint Library supports converting PowerPoint files to tagged PDFs, ensuring Section 508 compliance for users relying on assistive technologies.

You can access it through the Syncfusion.PresentationRenderer.Net.Core NuGet package. Detailed code samples and tutorial videos are available in the documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion® reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Want to create, View, and edit PPT files in C# or VB.NET?

Start a free 30-day evaluation today!
DOWNLOAD FREE TRIAL

No credit card required.

Mobile Free Evaluation Section

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.

Scroll up icon