This project is no longer maintained. For advanced PDF reporting please take a look at CxReports
This is a small C# wrapper utility around wkhtmltopdf console tool. You can use it to easily convert HTML reports to PDF.
NuGet includes single source file in your project.
Install-Package Codaxy.WkHtmlToPdf
PdfConvert.ConvertHtmlToPdf(new PdfDocument
{
Url = "http://wkhtmltopdf.org/",
HeaderLeft = "[title]",
HeaderRight = "[date] [time]",
FooterCenter = "Page [page] of [topage]"
}, new PdfOutput
{
OutputFilePath = "wkhtmltopdf-page.pdf"
});
This project is available under MIT Licence.