HtmlToPdfConverterGeneratePdf Method (String, String, Stream)

NReco.PdfGenerator Class Library Documentation
Generates PDF by specfied HTML content (optionally with the cover page).

Namespace:  NReco.PdfGenerator
Assembly:  NReco.PdfGenerator (in NReco.PdfGenerator.dll) Version: 1.2.1
Syntax

public void GeneratePdf(
	string htmlContent,
	string coverHtml,
	Stream output
)

Parameters

htmlContent
Type: SystemString
HTML document
coverHtml
Type: SystemString
first page HTML (optional; can be null)
output
Type: System.IOStream
output stream for generated PDF
See Also

Reference