The PEERNET.ConvertUtility namespace contains the main classes that allow you to communicate with Document Conversion Service and convert files from your own applications.

If you are new to the PEERNET.ConvertUtility namespace, see the C# Tutorial or the Visual Basic .NET Tutorial for step-by-step instructions to get you started.

 

Note

All public constructors, methods and properties are documented here. Constructors, methods, and properties that are visible through the Object Browser or through Intellisense but are not documented here are private to the namespace and should not be used.

 

Objects

Object

Description

  PNConverter

This class contains all of the static conversion methods for converting files, folders of files and collections of individual files.

 

  PNConvertFileInfo

Describes a single input file to be converted, the output path for that file and an optional collection of settings to use when converting the file. This object is used with the PNConvert method ConvertFileList.

 

  PNConversionItem

This object, or a collection of these objects, is returned by all of the conversion methods in PNConverter except for CombineFiles. It contains information about the original conversion request and a PNConversionResult object containing information about the conversion results.

 

  PNCombineItem

This object is returned by the PNConverter method CombineFiles. It contains information about the original file combine (append) request, a list of the output files created, and an inner list of PNConversionResult items for each file included as part of the combine operation.

 

  PNConversionResult

This object contain the list of files created, or if no files were created, a list of errors and messages explaining why the conversion failed.

 

  PNConversionResultError

A collection of these objects, one for each error, is returned as part of the NConversionResult object if a conversion fails.

 

  PNConversionResultMessage

A collection of these objects containing informational messages is returned as part of the PNConversionResult object. This collection can be empty.

 

  PNConversionResultOutputFile

A collection of one ore more of these objects is returned as part of the PNConversionResult object. This object contains the output path to the converted file.

 

  PNConversionResultOutputFileRenderedPage

A collection of one ore more of these objects is returned as part of the PNConversionResult object. This object contains information about this created page such as the page number in the file and the resolution, orientation and bit level of the created page.

 

  PNConversionResultPrintJob

A collection of one ore more of these objects is returned as part of the PNConversionResult object. This object contains information about the print job, such as the number of pages spooled or pages printed and the status of the print job that was used to convert the input file.

 

  PNConversionResultPrintJobPrintedPage

A collection of one or more of these objects is returned as part of the PNConversionResult object. This object contains information about each printed page of the input file, such as the resolution, orientation, and page number of the print job.

 

  PNProfile

Provides an interface for working with the profiles that Document Conversion Service uses to convert documents. Profiles control both the type of file created and optionally the behavior of the converters.

 

  PNSetting

An object that represents a setting as a name-value pair.

 

Enumerations

Object

Description

  PNConvertResultStatus

Conversion status result as a short string message.