These options control the behavior of the Word converter used by Document Conversion Service. Table values in bold text are the default value for that setting.
Sample Profile |
|
<?xml version="1.0" encoding="utf-8"?> <Profile Type="0" DisplayName="TIFF 300dpi Word with Markup, replace dates " Description ="Prints Word documents with comments and tracking visible."> <Settings>
<!-- Print Word with markup and 2 pages per sheet --> <add Name ="Microsoft.Word.Document.PrintOut.Item" Value="DocumentAndMarkup"/> <add Name ="Microsoft.Word.PageSetup.TwoPagesOnOne" Value="True"/>
<!-- Replace date fields with <AUTODATE> string --> <add Name ="Microsoft.Word.ReplaceFieldDateWith" Value="<AUTODATE>"/>
<!-- 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.Word.Document.PrintOut.Item", "DocumentAndMarkup"); item.Set("Microsoft.Word.PageSetup.TwoPagesOnOne", "True"); item.Set("Microsoft.Word.ReplaceFieldDateWith", "<AUTODATE>"); |
Code Sample - VB.NET |
|
Dim item As PNDocConvQueueServiceLib.IPNDocConvQueueItem
' Create the conversion item item = New PNDocConvQueueServiceLib.PNDocConvQueueItem()
' Set conversion settings item.Set("Microsoft.Word.Document.PrintOut.Item", "DocumentAndMarkup") item.Set("Microsoft.Word.PageSetup.TwoPagesOnOne", "True") item.Set("Microsoft.Word.ReplaceFieldDateWith", "<AUTODATE>") item.Set("Devmode settings;Resolution", "300") item.Set("Save;Output File Format", "TIFF Multipaged") ... ' convert the file item.Convert("Microsoft Word", _ "C:\Test\Report.docx", _ "C:\Test\Out\ConvertedReport") |
|
||||
---|---|---|---|---|
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
||||
---|---|---|---|---|
|
||||
|
||||
|
|
||||
---|---|---|---|---|
|
||||
|
||||
|
|
||||
---|---|---|---|---|
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|