Slides
One page per slide, the default, with the size of the slides.
Convert PowerPoint presentations (PPTX, PPTM, POTX and POTM) to PDF from C# and VB.NET without Microsoft PowerPoint: one page per slide, the notes pages, or handouts with several slides on a page. The presentation is laid out by a presentation engine in the library, on Windows, Linux and macOS.
The PowerPoint to PDF converter is part of ExpertPdf Anywhere, the .NET library with every ExpertPdf tool. Get the PDF as bytes, a file or a stream, on the size of the slides or on your own pages.
Documentation · Online samples · NuGet · Download .zip (v22.0.0) · PowerPoint to PDF docs · PowerPoint to PDF online sample
What is converted from a presentation, and how the PDF document comes out.
Presentations from a file, a stream or bytes, laid out without Microsoft PowerPoint.
One page per slide, the default, with the size of the slides.
Each slide with its speaker notes below it, with PowerPointPublish.NotesPages.
Pages with 1, 2, 3, 4, 6 or 9 slides each, with PowerPointPublish.Handouts and SlidesPerHandout.
Left out, or converted with ShowHiddenSlides.
The slides scaled onto the page size, orientation and margins you set, for example handouts on A4 or Letter paper.
Open a password protected presentation with Password.
Standards, fonts, images, page ranges and security, as bytes, a file or a stream.
PDF/A and PDF/X documents, and tagged PDF/UA documents with the slides' titles, text, tables, pictures with their descriptions and links.
Embed whole fonts rather than the characters used with EmbedCompleteFonts; store an image used several times once with OptimizeIdenticalImages.
Keep the form fields of the presentation as PDF form fields with PreserveFormFields.
Convert only some pages, for example "1-3,5", with PageRanges.
A header and a footer with a title, a text and page numbers, passwords and permissions, and the document information, as in the HTML to PDF converter.
Add a presentation to a PDF document made with the PDF Creator API, as a PowerPointToPdfElement.
Create a PdfConverter from ExpertPdf.Anywhere.PowerPointToPdf, choose what to publish and call one conversion method. The tabs convert the slides with the hidden ones, handouts on A4 pages, and the notes pages.
using ExpertPdf.Anywhere.PowerPointToPdf; var converter = new PdfConverter(); // converter.LicenseKey = "your license key"; // One page per slide (the default), hidden slides included converter.Publish = PowerPointPublish.Slides; converter.ShowHiddenSlides = true; converter.SavePdfFromPowerPointFileToFile("deck.pptx", "deck.pdf");
Install the package of your operating system, dotnet add package ExpertPdf.Anywhere.Windows
(or .Linux, .Linux.Arm64, .MacOS); it brings the ExpertPdf Anywhere library with it. The
PowerPoint to PDF topic describes every option, and the
online sample converts your own presentation.
Also in ExpertPdf Anywhere: Cross-platform HTML to PDF, Word to PDF, Excel to PDF, PDF to Word, PDF to Excel, PDF to PowerPoint, and every other ExpertPdf tool.
Common questions about slides, notes, handouts and licensing.
Password; one that cannot be read throws PowerPointConvertException.Publish chooses what is converted: PowerPointPublish.Slides (the default, one page per slide), PowerPointPublish.NotesPages (each slide with its speaker notes below it) or PowerPointPublish.Handouts, with 1, 2, 3, 4, 6 or 9 slides on a page (SlidesPerHandout).PageSetup = PowerPointPageSetup.Document) every page has the size of the slides. With PowerPointPageSetup.Options the slides are scaled onto the page size, orientation and margins of PdfDocumentOptions, for example to print handouts on A4.ShowHiddenSlides is set.PdfStandardSubset produces PDF/A and PDF/X documents, and AccessibilityStandard tagged PDF/UA documents with the slides' titles, text, tables, pictures with their descriptions and links. Notes pages and handouts are not produced as tagged documents: publish the slides for one.ExpertPdf.Anywhere.Fonts package. EmbedCompleteFonts embeds whole fonts rather than the characters used.Install ExpertPdf Anywhere from NuGet and try every feature in evaluation mode. License it on the pricing page when you are ready.