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, string outputPdfFilePath )
Parameters
- htmlContent
- Type: SystemString
HTML document - coverHtml
- Type: SystemString
first page HTML (can be null) - outputPdfFilePath
- Type: SystemString
path to the output PDF file (if file already exists it will be removed before PDF generation)
See Also