General Converter Options

These options can be used with any of the converters installed with Document Conversion Service. Table values in bold text are the default value for that setting.

 

 

Code Sample - C#

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

item.Set("PageRange""1-3");
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");

 

Code Sample - VB.NET

 

Dim item As PNDocConvQueueServiceLib.IPNDocConvQueueItem

 

 ' Create the conversion item

item = New PNDocConvQueueServiceLib.PNDocConvQueueItem()

 

' Set conversion settings

item.Set("PageRange""1-3")

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")

 

 

Conversion Settings

Name:

PageRange

 

The page numbers and page ranges to include in the output file. Separate each number and range with a comma. For example, "1, 3, 5-7" prints page 1 and 3 and pages 5 through 7. Numbers in the page range exceeding the page count of the source document are ignored.

 

Values:

The string representing the page range.

Name:

MaxSpooledPagesAllowed

 

Sets the maximum number of pages that are allowed to be printed/spooled. Documents larger than this set page limit will not convert.

 

Values:

The string representing the maximum number of pages allowed.