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# |
|
item.Set("Microsoft.PowerPoint.PageSetup.FirstSlideNumber", "2"); item.Set("Microsoft.PowerPoint.PageSetup.NotesOrientation", "OrientationVertical"); item.Set("Microsoft.PowerPoint.PrintOptions.FitToPage", "True"); 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") |
|
||||
---|---|---|---|---|
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
||||||
---|---|---|---|---|---|---|
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
||||||
|
|
||||
---|---|---|---|---|
|