Converter

Converter(Func<Stream>)

Initializes new instance of Converter class.

public Converter(Func<Stream> sourceStreamProvider)
Parameter Type Description
sourceStreamProvider Func`1 The method that returns readable stream.

Exceptions

exception condition
ArgumentNullException Thrown when sourceStreamProvider is null.

Remarks

Learn more

See Also


Converter(Func<Stream>, Func<ConverterSettings>)

Initializes new instance of Converter class.

public Converter(Func<Stream> sourceStreamProvider, Func<ConverterSettings> settings)
Parameter Type Description
sourceStreamProvider Func`1 The method that returns readable stream.
settings Func`1 The Converter settings.

Remarks

Learn more

See Also


Converter(Func<Stream>, Func<LoadContext, LoadOptions>, Func<ConverterSettings>)

Initializes new instance of Converter class.

public Converter(Func<Stream> sourceStreamProvider, Func<LoadContext, LoadOptions> loadOptions, 
    Func<ConverterSettings> settings = null)
Parameter Type Description
sourceStreamProvider Func`1 The method that returns readable stream.
loadOptions Func`2 Provide load options for the document currently being loading The load options context
settings Func`1 The Converter settings.

Remarks

Learn more

See Also


Converter(string)

Initializes new instance of Converter class.

public Converter(string filePath)
Parameter Type Description
filePath String The file path to the source document.

Remarks

Learn more

See Also


Converter(string, Func<ConverterSettings>)

Initializes new instance of Converter class.

public Converter(string filePath, Func<ConverterSettings> settings)
Parameter Type Description
filePath String The file path to the source document.
settings Func`1 The Converter settings.

Remarks

Learn more

See Also


Converter(string, Func<LoadContext, LoadOptions>, Func<ConverterSettings>)

Initializes new instance of Converter class.

public Converter(string filePath, Func<LoadContext, LoadOptions> loadOptions, 
    Func<ConverterSettings> settings = null)
Parameter Type Description
filePath String The file path to the source document.
loadOptions Func`2 Provide load options for the document currently being loading The load options context
settings Func`1 The Converter settings.

Remarks

Learn more

See Also