Converter

Converter class

Represents main class that controls document conversion process.

public sealed class Converter : IDisposable

Constructors

Name Description
Converter(Func<Stream>) Initializes new instance of Converter class.
Converter(string) Initializes new instance of Converter class.
Converter(Func<Stream>, Func<ConverterSettings>) Initializes new instance of Converter class.
Converter(Func<Stream>, Func<FileType, LoadOptions>) Initializes new instance of Converter class.
Converter(Func<Stream>, Func<LoadOptions>) Initializes new instance of Converter class.
Converter(string, Func<ConverterSettings>) Initializes new instance of Converter class.
Converter(string, Func<FileType, LoadOptions>) Initializes new instance of Converter class.
Converter(string, Func<LoadOptions>) Initializes new instance of Converter class.
Converter(Func<Stream>, Func<FileType, LoadOptions>, Func<ConverterSettings>) Initializes new instance of Converter class.
Converter(Func<Stream>, Func<LoadOptions>, Func<ConverterSettings>) Initializes new instance of Converter class.
Converter(string, Func<FileType, LoadOptions>, Func<ConverterSettings>) Initializes new instance of Converter class.
Converter(string, Func<LoadOptions>, Func<ConverterSettings>) Initializes new instance of Converter class.

Methods

Name Description
Convert(Func<FileType, Stream>, ConvertOptions) Converts source document. Saves the whole converted document.
Convert(Func<FileType, Stream>, Func<string, FileType, ConvertOptions>) Converts source document. Saves the whole converted document.
Convert(Func<int, FileType, Stream>, ConvertOptions) Converts source document. Saves the converted document page by page.
Convert(Func<int, FileType, Stream>, Func<string, FileType, ConvertOptions>) Converts source document. Saves the converted document page by page.
Convert(Func<int, Stream>, ConvertOptions) Converts source document. Saves the converted document page by page.
Convert(Func<int, Stream>, Func<string, FileType, ConvertOptions>) Converts source document. Saves the converted document page by page.
Convert(Func<Stream>, ConvertOptions) Converts source document. Saves the whole converted document.
Convert(Func<Stream>, Func<string, FileType, ConvertOptions>) Converts source document. Saves the whole converted document.
Convert(string, ConvertOptions) Converts source document. Saves the whole converted document.
Convert(Func<FileType, Stream>, Action<string, FileType, Stream>, ConvertOptions) Converts source document. Saves the whole converted document.
Convert(Func<FileType, Stream>, Action<string, FileType, Stream>, Func<string, FileType, ConvertOptions>) Converts source document. Saves the whole converted document.
Convert(Func<int, FileType, Stream>, Action<string, FileType, int, Stream>, ConvertOptions) Converts source document. Saves the converted document page by page.
Convert(Func<int, FileType, Stream>, Action<string, FileType, int, Stream>, Func<string, FileType, ConvertOptions>) Converts source document. Saves the converted document page by page.
Convert(Func<int, Stream>, Action<string, FileType, int, Stream>, ConvertOptions) Converts source document. Saves the converted document page by page.
Convert(Func<int, Stream>, Action<string, FileType, int, Stream>, Func<string, FileType, ConvertOptions>) Converts source document. Saves the converted document page by page.
Convert(Func<Stream>, Action<string, FileType, Stream>, ConvertOptions) Converts source document. Saves the whole converted document.
Convert(Func<Stream>, Action<string, FileType, Stream>, Func<string, FileType, ConvertOptions>) Converts source document. Saves the whole converted document.
Dispose() Releases resources.
GetDocumentInfo() Gets source document info - pages count and other document properties specific to the file type.
GetDocumentInfo<T>() Gets source document info - pages count and other document properties specific to the file type.
GetPossibleConversions() Gets possible conversions for the source document.
IsDocumentPasswordProtected() Checks is source document is password protected
static GetAllPossibleConversions() Gets all supported conversions
static GetPossibleConversions(string) Gets supported conversions for provided document extension

See Also