Click or drag to resize

PowerPoint to PDF Element

PowerPointToPdfElement draws the slides of a PowerPoint presentation (.pptx, .pptm, .potx, .potm) at a position on a PDF page, like Word to PDF Element does for a Word document. Each slide - or notes page, or handout page - keeps its shape, scaled to the width of the element; the slides are stacked one under the other and continue on the following pages.

Adding the slides of a presentation to a page
using ExpertPdf.Anywhere.PdfDocument;

Document document = new Document();
PdfPage page = document.AddPage();
PdfFont font = document.AddFont(StdFontBaseFamily.HelveticaBold);
page.AddElement(new TextElement(0, 0, "Quarterly review", font));

// the slides below the title, 300 points wide, stacked; they continue on new pages
PowerPointToPdfElement slides = new PowerPointToPdfElement(0, 30, 300, "deck.pptx");
page.AddElement(slides);

document.Save("review.pdf");
document.Close();
Options

A slide can also be drawn in the header or footer of an HTML to PDF conversion with PowerPointToPdfArea; see Headers and Footers.

See Also