HtmlToPdfConverterGeneratePdf Method (String, String)

NReco.PdfGenerator Class Library Documentation
Generates 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 byte[] GeneratePdf(
	string htmlContent,
	string coverHtml
)

Parameters

htmlContent
Type: SystemString
HTML document
coverHtml
Type: SystemString
first page HTML (optional; can be null)

Return Value

Type: Byte
PDF bytes
See Also

Reference