Click or drag to resize
Pdf Library for .NET

PowerPoint To Pdf Converter Options Review

PowerPointToPdfOptions, reached through Options, controls the conversion and the generated document. Most of it is the same surface as HtmlToPdfOptions, with the same defaults, so it is only listed here; the properties that belong to the PowerPoint engine are described.

The options shared with the html converter

Property

What it does

PdfPageSize, PdfPageCustomSize, PdfPageOrientation

The page of the generated document. Applied only under the Options page setup; under Document every page has the size of the presentation's slides.

MarginLeft, MarginRight, MarginTop, MarginBottom

Margins in points, zero by default, around the slide under both page setups.

DisplayHeader, DisplayFooter

Show the bands built through Header and Footer. Text, image, html, Word, Excel and PowerPoint sections all work; see Headers and Footers.

ExternalLinksEnabled, InternalLinksEnabled

Carry the presentation's web links and its links to other slides as clickable pdf links. Both on by default.

PageRanges

Keep only the named rendered pages, e.g. "1,3-5". A range that selects none of the rendered pages is refused.

GenerateSinglePagePdf

Stack every rendered page onto one tall pdf page.

PdfStandard, ColorSpace

PDF/A-1b to PDF/A-4 and PDF/X-1a, and the color space, produced as the html converter produces them.

Tagged, AccessibilityStandard, Title, Language

Tagged (accessible) output: the slides' structure becomes the logical structure of the pdf, declared as PDF/UA-1 or PDF/UA-2 with the title and the language a declared document must carry. See the Standards section of the converter topic.

SecurityOptions, ViewerPreferences, PdfDocumentInformation

Passwords and permissions, how a viewer opens the document, and its title, author, subject and keywords.

JpegCompressionEnabled, JpegCompressionLevel, PdfCompressionLevel

Image and stream compression, with the html converter's defaults.

ImagesMaxResolution

The highest resolution, in pixels per inch, an image is kept at; images drawn at a higher resolution are resampled down to it. 0 (the default) keeps every image as it is.

LFN

A diagnostic log file written during the conversion.

The PowerPoint engine's own options

Property

Default

What it does

PageSetup

Document

Whether every page has the size of the presentation's slides (Document) or the slides are scaled onto the page size, orientation and margins of the options (Options). See Getting Started.

Password

none

The password of an encrypted presentation.

Publish

Slides

What is published: one page per slide, one notes page per slide, or handout pages (PowerPointPublish).

SlidesPerHandout

6

How many slides a handout page holds: 1, 2, 3, 4, 6 or 9. Used with Handouts.

ShowHiddenSlides

false

Convert the slides hidden in the presentation too.

PreserveFormFields

false

Turn the presentation's form fields into fillable pdf form fields.

EmbedCompleteFonts

false

Embed the complete font programs rather than the subsets the presentation uses.

OptimizeIdenticalImages

true

Store an image used several times once.

The conversion result

After a conversion, ConversionResult describes the document produced: PdfPageCount, PdfPageSize, PdfPageLastIndex, PdfPageLastRectangle and PdfPagesRectangles, one rectangle per rendered page in the coordinates of the pdf page it landed on. A presentation that cannot be read or rendered fails the conversion with PowerPointToPdfException.

See Also