Overview
The DynamicPDF Converter for .NET supports the conversion of over 50 files types directly to PDF. There are specialized converters for specific file types or you can use the Converter.Convert
static method and allow DynamicPDF Converter to choose the correct conversion method for a particular file.
Simple Conversion
For converting using the Converter.Convert
static method, the application flow of most applications when using Converter.Convert
is as follows.
(Optional) Create a
ConversionOptions
object and specify conversion options.These options specify the formatting of the produced PDF document used during the conversion (output page size, orientation, margins, append options, and other options).
Call
Converter.Convert
, specifying the input and output file names (and optional conversion options).
Refer to the Simple Conversion documentation topic for more information on using Converter.Convert
to convert to PDF.
File Specific Conversion
In most situations the Converter.Convert
method should be sufficient for you conversion needs. However, you will often want to use one of the specialized converters with its specialized conversion options. For example, if converting a Word document, and using the specialized converter and options, then the application flow is as follows.
- (Optional) Create a
WordConversionOptions
object and specify conversion options. - Create a
WordConverter
object and pass the Word document as input. - Call
Convert
, specifying the output file (and optional conversion options).
Refer to the File Specific Converters and Conversion Options documentation topic for more information on using one of the specialized converters.