Convert Powerpoint Presentation To PDF With Advanced Options In C#
This repository contains examples that illustrates how to convert PowerPoint presentations to PDFs with advanced options programmatically in C#. The Syncfusion® .NET PowerPoint library (Presentation) provides a robust solution for converting presentations to PDF with just a few lines of code. It does not require Microsoft PowerPoint to be installed on the machine, and it preserves the original layout and formatting of the PowerPoint slides in the converted PDF
Key Features
PPTX to PDF conversions
- Convert PowerPoint to PDF - Convert PowerPoint presentation to PDF.
- Accessible PDF document - Convert PowerPoint presentation to PDF/UA (Section 508 compliant).
- PDF conformance level - Convert PowerPoint presentation to PDF/A with various PDF conformance levels for long-term archiving and standardization.
PPTX to PDF advanced options
- Handouts - Specify the number of slides per PDF page with Handouts option.
- Include-hidden-slides - Skip or include hidden slides.
- Include-Notes-pages - Convert slides with notes pages to PDF.
- Optimize identical images - Optimize identical images to reduce PDF file size.
Fallback fonts
- Default fallback fonts - Initialize default fallback fonts for a smoother conversion
- Based on script type - Set fallback fonts based on script type for unsupported glyphs.
- For range of Unicode - Set fallback fonts for characters when glyphs are not available.
Font substitution
- Alternate font from installed - Use alternate installed fonts when the original fonts are not available during PowerPoint to PDF conversion.
- Alternate font without installing - Use alternate fonts without requiring font installation.
Syncfusion® .NET PowerPoint Library
The Syncfusion® .NET PowerPoint library (Presentation) allows you to add advanced PowerPoint presentation processing functionalities to any .NET application and does not require Microsoft PowerPoint application to be installed in the machine. It is a non-UI component that provides a full-fledged PowerPoint presentation instance model similar to the Microsoft Office COM libraries to iterate with the presentation elements explicitly and perform necessary manipulation.
Take a moment to peruse the documentation, where you can find basic PowerPoint presentation processing options along with the features like create and edit charts, clone and merge slides in presentation, create and edit animations and transistion effects, protect the PowerPoint presentation, and most importantly, the PDF and Image conversions with code examples.
Compatible Microsoft PowerPoint Versions
- Microsoft PowerPoint 2007
- Microsoft PowerPoint 2010
- Microsoft PowerPoint 2013
- Microsoft PowerPoint 2016
- Microsoft PowerPoint 2019
- Microsoft 365
Supported File Formats
- Creates, reads, and edits popular presentation file formats like .PPTX, .PPTM, .POTX, and .POTM.
- Converts PowerPoint presentation documents also to PDF and Image files.
How to run the examples
- Download this project to a location in your disk.
- Open the solution file using Visual Studio.
- Rebuild the solution to install the required NuGet packages.
- Run the application.
Resources
- Product page: Syncfusion® PowerPoint Framework
- Documentation: Convert PowerPoint to PDF using Syncfusion® PowerPoint library
- GitHub Examples: Syncfusion® PowerPoint library examples
- Online demo: Syncfusion® PowerPoint library - Online demos
Support and feedback
- For any other queries, reach our Syncfusion® support team or post the queries through the community forums.
- Request new feature through Syncfusion® feedback portal.
License
This is a commercial product and requires a paid license for possession or use. Syncfusion's licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a licnense here or start a free 30-day trial here.