Converter Class
Wordize.Converting.Converter class. Represents a group of methods intended to convert a variety of different types of documents using a single line of code.
Converter class
Represents a group of methods intended to convert a variety of different types of documents using a single line of code.
public class Converter : Processor
Methods
Name | Description |
---|---|
static Create() | Creates default converter processor. |
static Create(ConverterContext) | Creates converter processor with specified converter context. |
Execute() | Execute the processor action. |
From(Stream, LoadOptions) | Specifies input document for processing. |
From(string, LoadOptions) | Specifies input document for processing. |
To(List<Stream>, SaveFormat) | Specifies output Document streams list. |
To(List<Stream>, SaveOptions) | Specifies output Document streams list. |
To(Stream, SaveFormat) | Specifies output stream for the processor. |
To(Stream, SaveOptions) | Specifies output stream for the processor. |
To(string, SaveFormat) | Specifies output file for the processor. |
To(string, SaveOptions) | Specifies output file for the processor. |
static Convert(string, string) | Converts the given input document into the output document using specified input output file names and its extensions. |
static Convert(Stream, Stream, SaveFormat) | Converts the given input document into a single output document using specified input and output streams. |
static Convert(string, string, SaveFormat) | Converts the given input document into the output document using specified input output file names and the final document format. |
static ConvertToImages(Stream, ImageSaveOptions) | Converts the input stream pages to images. |
static ConvertToImages(string, ImageSaveOptions) | Converts the input file pages to images. |
Remarks
The specified input and output files or streams, along with the desired save format, are used to convert the given input document of the one format into the output document of the other specified format.
The convert functionality supports over 35+ different file formats.
The ConvertToImages
group of methods are designed to transform documents into images, with each page being converted into a separate image file. These methods also convert PDF documents directly to fixed-page formats without loading them into the document model, which enhances both performance and accuracy.
See Also
- class Processor
- namespace Wordize.Converting
- assembly Wordize