C#: Online Guide
How To: powerpoint SDK
Convert PowerPoint to PDF
Convert PowerPoint to PDF
Home ›› XDoc.PowerPoint ›› C# PowerPoint: Convert PowerPoint to PDF

C# PowerPoint - Convert PowerPoint to PDF in C#.NET

Online C# Tutorial for Converting PowerPoint to PDF (.pdf) Document

PowerPoint to PDF Conversion Overview

RasterEdge Visual C# .NET PowerPoint to PDF converter library control (XDoc.PowerPoint) is a mature and effective PowerPoint document converting utility. Using this PowerPoint to PDF converting library control, .NET developers can quickly convert PowerPoint document to PDF file using Visual C# code. This C#.NET PowerPoint to PDF conversion library can help developers convert multi-page PowerPoint document to multi-page PDF file.

Related .net document control helps:
asp.net mvc pdf editor control: ASP.NET MVC PDF Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
asp.net file viewer: ASP.NET Document Viewer Control in C#: View, Annotate, Redact web document files in ASP.NET using C#
asp.net convert pdf control: ASP.NET Convert PDF Control: Convert, export PDF to Word, HTML, Tiff files in C# ASP.NET
asp.net dicom file viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
asp.net webforms pdf editor control: ASP.NET WebForms PDF Editor: create, view, edit, annotate, redact PDF file in ASP.NET WebForms application
asp.net edit pdf image control: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
asp.net dotnetnuke pdf editor control: ASP.NET DNN PDF Editor Control: view, edit PDF files in Dotnetnuke application

The most outstanding feature of this PowerPoint to PDF converting toolkit is its industry-leading converting accuracy. The PDF file, converted by RasterEdge PowerPoint to PDF converter toolkit, preserves the structure & layout of target PowerPoint document, keeps the elements (like images, tables and chats) of original PowerPoint file and maintains the original text style (including font, size, color, links and boldness).

Why do we need this PowerPoint to PDF converting library? In the daily-life applications, you often need to render and print PowerPoint document content for certain purpose. But without licensed third-party software, you can hardly print the PowerPoint document as the original style. Under this situation, you need to convert PowerPoint document to some image format document.

RasterEdge XDoc.PowerPoint empowers your C#.NET application with advanced PowerPoint to PDF conversion functionality.

C# Demo: Convert PowerPoint to PDF Document

Add references:












Use corresponding namespaces;

  using RasterEdge.Imaging.Basic;

  using RasterEdge.XDoc.PowerPoint;

This is a C# programming example for converting PowerPoint to PDF (.pdf) file.

// Load a PowerPoint document.
String inputFilePath = Program.RootPath + "\\" + "1.pptx";
PPTXDocument doc = new PPTXDocument(inputFilePath);

// Convert and output to a PDF file.
String outputFilePath = inputFilePath + ".pdf";
doc.ConvertToDocument(DocumentType.PDF, outputFilePath);