PowerPoint Converter Options

These options control the behavior of the PowerPoint converter used by Document Conversion Service. Table values in bold text are the default value for that setting. Not all settings have default values; these settings are optional and the appropriate setting in the presentation being printed will be used.

 

Sample Profile

 

<?xml version="1.0" encoding="utf-8"?>

<Profile Type="0"

         DisplayName="TIFF 300dpi Powerpoint Markup, replace dates "

         Description ="Prints Powerpoint slides with comments and tracking visible.">

  <Settings>

 

    <add Name ="Microsoft.PowerPoint.PageSetup.FirstSlideNumber" Value="2"/>

    <add Name ="Microsoft.PowerPoint.PageSetup.NotesOrientation"

          Value="OrientationVertical"/>

    <add Name ="Microsoft.PowerPoint.PrintOptions.FitToPage" Value="True"/>

 

    <!-- Output file options -->

    <add Name="Devmode settings;Resolution" Value="300"/>

    <add Name="Save;Output File Format" Value="TIFF Multipaged"/>

    ...

    

  </Settings>

</Profile>

 

 

Code Sample - C#

 
PNDocConvQueueServiceLib.PNDocConvQueueItem item = null;
 
// Create the conversion item
item = new PNDocConvQueueServiceLib.PNDocConvQueueItem();
 
// Set conversion settings

item.Set("Microsoft.PowerPoint.PageSetup.FirstSlideNumber""2");

item.Set("Microsoft.PowerPoint.PageSetup.NotesOrientation",

         "OrientationVertical");

item.Set("Microsoft.PowerPoint.PrintOptions.FitToPage",

         "True");
item.Set("Devmode settings;Resolution", "300");
item.Set("Save;Output File Format", "TIFF Multipaged");
...
// convert the file

item.Convert("Microsoft PowerPoint", _

             @"C:\Test\Report.pptx", _

             @"C:\Test\Out\ConvertedPresentation");

 

Code Sample - VB.NET

 

Dim item As PNDocConvQueueServiceLib.IPNDocConvQueueItem

 

 ' Create the conversion item

item = New PNDocConvQueueServiceLib.PNDocConvQueueItem()

 

' Set conversion settings

item.Set("Microsoft.PowerPoint.PageSetup.FirstSlideNumber""2")

item.Set("Microsoft.PowerPoint.PageSetup.NotesOrientation",

         "OrientationVertical")

item.Set("Microsoft.PowerPoint.PrintOptions.FitToPage",

         "True")

item.Set("Devmode settings;Resolution""300")

item.Set("Save;Output File Format""TIFF Multipaged")

...

' convert the file

item.Convert("Microsoft PowerPoint", _

             "C:\Test\Report.pptx", _

             "C:\Test\Out\ConvertedPresentation")

 

 

Conversion Settings - PowerPoint Page Setup

Name:

Microsoft.PowerPoint.PageSetup.FirstSlideNumber

 

Sets the slide number for the first slide in the presentation.

 

Values:

String value containing the starting number, such as "2".

Name:

Microsoft.PowerPoint.PageSetup.NotesOrientation

 

Sets the printed orientation of notes pages, handouts, and outlines for the specified presentation. If the value passed down does not match the strings below, the orientation will default to OrientationHorizontal.

 

Values:

OrientationHorizontal

OrientationVertical

OrientationMixed

 

Name:

Microsoft.PowerPoint.PageSetup.SlideOrientation

 

Sets the printed orientation of slides in the presentation. If the value passed down does not match the strings below, the orientation will default to OrientationHorizontal.

 

Values:

OrientationHorizontal

OrientationVertical

OrientationMixed

 

Name:

Microsoft.PowerPoint.PageSetup.SlideHeight

 

Sets the height of the slide in points.

 

Values:

String value of the desired slide height.

 

Name:

Microsoft.PowerPoint.PageSetup.SlideSize

 

Sets the slide size for the specified presentation

 

Values:

SlideSizeOnScreen - On Screen

SlideSizeLetterPaper - Letter Paper  

SlideSizeA4Paper - A4 Paper

SlideSize35MM -  35MM

SlideSizeOverhead - Overhead

SlideSizeBanner -  Banner

SlideSizeLedgerPaper  - Ledger Paper

SlideSizeA3Paper - A3 Paper

SlideSizeB4ISOPaper - B4 ISO Paper

SlideSizeB5ISOPaper - B5 ISO Paper

SlideSizeB4JISPaper - B4 JIS Paper

SlideSizeB5JISPaper - B5 JIS Paper

SlideSizeHagakiCard - Hagaki Card

 

Name:

Microsoft.PowerPoint.PageSetup.SlideWidth

 

Sets the width of the slide in points.

 

Values:

String value of the desired slide width.

 

 

Conversion Settings - PowerPoint Print Options

Name:

Microsoft.PowerPoint.PrintOptions.FitToPage

 

If set to "True" then the slides will be scaled to fill the page they're printed on.

 

Values:

String value "True" or "False".

 

Name:

Microsoft.PowerPoint.PrintOptions.FrameSlides

 

If set to "True" then a thin frame is placed around the border of the printed slides.

 

Values:

String value "True" or "False".

 

Name:

Microsoft.PowerPoint.PrintOptions.HandoutOrder

 

Sets the page layout order for printed handouts that show multiple slides on one page.

 

Values:

PrintHandoutVerticalFirst

PrintHandoutHorizontalFirst

 

 

Name:

Microsoft.PowerPoint.PrintOptions.HighQuality

 

If set to "True" then the slides will be printed in high quality.

 

Values:

String value "True" or "False".

 

Name:

Microsoft.PowerPoint.PrintOptions.OutputType

 

Sets which component (slides, handouts, notes pages, or an outline) of the presentation is to be printed, and in the case of handouts, how many slides per page.

 

Values:

PrintOutputSlides  - print slides only.

PrintOutputNotesPages - prints slides with notes.

PrintOutputOutline - outline only.

PrintOutputBuildSlides - build slides only (Office 2003 and 2007 only).

PrintOutputOneSlideHandouts - handouts with a single slide per page.

PrintOutputTwoSlideHandouts - handouts with two slides per page.

PrintOutputThreeSlideHandouts - handouts with three slides per page.

PrintOutputFourSlideHandouts - handouts with four slides per page.

PrintOutputSixSlideHandouts - handouts with six slides per page.

PrintOutputNineSlideHandouts - handouts with nine slides per page.

 



Name:

Microsoft.PowerPoint.PrintOptions.PrintColorType

 

Prints the presentation in one of black and white, in pure black and white (also referred to as high contrast), or in color.

 

Values:

PrintColor            

PrintBlackAndWhite    

PrintPureBlackAndWhite

 

Name:

Microsoft.PowerPoint.PrintOptions.PrintComments

 

If set to "True" then any comments will be printed along with the slides in the presentation.

 

Values:

String value "True" or "False".

 

Name:

Microsoft.PowerPoint.PrintOptions.PrintFontsAsGraphics

 

If set to "True" then any text created with TrueType fonts will be printed as graphics.

 

Values:

String value "True" or "False".

 

Name:

Microsoft.PowerPoint.PrintOptions.PrintHiddenSlides

 

If set to "True" then any hidden slides in the presentation will also be printed.

 

Values:

String value "True" or "False".

 

Name:

Microsoft.PowerPoint.PrintOptions.SlideShowName

 

Sets the name of the custom slide show to print.

 

Values:

A string value containing the name of the custom slide show in the presentation.

 

 

Conversion Settings - Document Protection

Name:

Microsoft.PowerPoint.OpenPassword

 

The password is used to open a password-protected PowerPoint presentation. This password is passed as clear text and is visible to anyone.

 

Values:

A string value containing the password.