Click or drag to resize

IFileConverterConvert Method (Stream, Stream, Encoding, ConversionOutputType, DocumentOptions)

Convert stream input to output type writing to the output stream.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
void Convert(
	Stream Input,
	out Stream OutputStream,
	Encoding InputEncoding,
	ConversionOutputType OutputType,
	DocumentOptions DocOptions
)

Parameters

Input
Type: System.IOStream
Input file stream encoding
OutputStream
Type: System.IOStream
Output file stream
InputEncoding
Type: System.TextEncoding
Input file stream encoding
OutputType
Type: NetQuarryConversionOutputType
Output file type
DocOptions
Type: NetQuarryDocumentOptions
Output document options
Remarks
When converting from HTML to PDF, you can force page breaks into the document by adding CSS page-break-before and page-break-after properties. For example, you can add a span like this to force a page break in a particular location: <div style="page-break-before: always"></div>.
See Also