Click or drag to resize

PdfToPowerPointConverter Class

The PDF to PowerPoint converter class. Converts a PDF document to a PowerPoint presentation (pptx), a slide per page.
Inheritance Hierarchy
SystemObject
  ExpertPdf.AnywherePdfToPowerPointConverter

Namespace: ExpertPdf.Anywhere
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public class PdfToPowerPointConverter

The PdfToPowerPointConverter type exposes the following members.

Constructors
 NameDescription
Public methodPdfToPowerPointConverter PDF to PowerPoint converter constructor.
Top
Properties
 NameDescription
Public propertyEndPageNumber The page number where the conversion will end. The default value is 0 which means that all the pages starting from StartPageNumber are converted.
Public propertyHeadersAndFooters Text repeated at the top and bottom of the pages kept on the slides. The default value is true.
Public propertyImages The PDF's images and vector art as pictures. The default value is true.
Public propertyLicenseKey The license key string received after the product purchase or a demo license key. When this property is null the converter runs in demo mode and marks the presentation it writes.
Public propertyLinks The PDF's web links as hyperlinks. The default value is true.
Public propertyStartPageNumber The page number from where the conversion will start. The default value is 1.
Public propertyTables The PDF's tables as PowerPoint tables; false keeps their text in text boxes and their lines as shapes. The default value is true.
Public propertyUserPassword The password to open the PDF document with: the user password or the owner password. The default value is null.
Top
Methods
 NameDescription
Public methodConvertToPowerPoint(Stream) Converts a PDF document read from a stream to a PowerPoint presentation.
Public methodConvertToPowerPoint(String) Converts a PDF file to a PowerPoint presentation.
Public methodConvertToPowerPointFile(Stream, String) Converts a PDF document read from a stream to a PowerPoint presentation saved in a file.
Public methodConvertToPowerPointFile(String, String) Converts a PDF file to a PowerPoint presentation saved in a file.
Top
Remarks
Every block of text becomes a text box at its place, with its paragraphs and runs in the document's fonts, sizes and colors; the page color becomes the slide's background, boxes and rules shapes, images and vector art pictures, all where the PDF has them. The slides take the first page's size; a page of another size is scaled to fit and centered. The conversion runs in the application's process; no native engine is needed.
Example
PdfToPowerPointConverter converter = new PdfToPowerPointConverter();
converter.LicenseKey = "...";
converter.ConvertToPowerPointFile("slides.pdf", "slides.pptx");
See Also