Conversion settings are used to describe the output created by Document Conversion Service and consist of a collection of name-value pairs. These settings can also be used to control the behavior of the individual converters, such as configuring Word to pass a password or telling Excel to ignore the print areas when printing worksheets.
The PNDocConvQueueServiceLib COM object uses a list of name-value pairs of conversion settings to configure the output that is created. These settings are passed into the COM object directly through its IPNDocConvQueueItem.Set method before calling IPNDocConvQueueItem.Convert.
The following code sample show the conversion settings strings for setting the resolution to 200 DPI and creating multipaged black and white TIFF files. The Resolution setting is part of the Devmode settings configuration options, while Output File Format , Append, Color reduction, and Dithering method are part of the Save configuration options.
You can find more sample output configurations by looking at the name and value pairs used in the sample conversion profiles included with Document Conversion Service.
Code Sample - C# |
|
|
Code Sample - VB.NET |
|
|
The table below lists the different conversion settings separated out into categories with a description of the settings available in each. Click the link for that category to view all available settings for that option.
Options |
Description of Settings |
---|---|
These are general options that can be applied to the conversion process itself or to all converters. |
|
Endorsements are header and footer information that can be stamped onto each page of the output created by Document Conversion Service. |
|
These options are specific to the behavior of the Word converter. |
|
These options are specific to the behavior of the Excel converter. |
|
These options are specific to the behavior of the PowerPoint converter. |
|
These options are specific to the behavior of the Ghostscript converter. |
|
These options are specific to the behavior of the Image converter. |
|
These options are specific to the behavior of the OutsideIn converter. |
|
Advanced settings such as custom paper size and text extraction. |
|
Settings to configure the file naming profiles (preset file naming schemes) for multipaged, multipaged with JobID, serialized and serialized with JobID. |
|
Resolution (DPI), page size and color mode settings. |
|
Image output options such as creating fax mode images and page rotation settings. |
|
Compression settings for color and greyscale JPEG images. |
|
PDF file format settings for compression, content encoding and PDF/A-1b compliant PDF files. |
|
PDF encryption and file permissions. |
|
Settings to adjust the image during conversion such as trimming, cropping, copying to a new page size, resampling and brightness adjustment. |
|
Settings for output file format, color reduction, dithering and file name prompting. |
|
Compression settings for black and white, color, indexed and greyscale TIFF images. |
|
Settings to create a text watermark diagonally across the page. |