HtmlToPdfConverterGeneratePdfFromFile Method (String, String, Stream)

NReco.PdfGenerator Class Library Documentation
Generate PDF by specfied HTML content and prepend cover page (useful with GenerateToc option)

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

public void GeneratePdfFromFile(
	string htmlFilePath,
	string coverHtml,
	Stream output
)

Parameters

htmlFilePath
Type: SystemString
path to HTML file or absolute URL
coverHtml
Type: SystemString
first page HTML (optional, can be null)
output
Type: System.IOStream
output stream for generated PDF
See Also

Reference