Awesome Open Source
Awesome Open Source


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 = "",
    HeaderLeft = "[title]",
    HeaderRight = "[date] [time]",
    FooterCenter = "Page [page] of [topage]"

}, new PdfOutput 
    OutputFilePath = "wkhtmltopdf-page.pdf"


This project is available under MIT Licence.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
c-sharp (11,742
pdf-converter (34

Find Open Source By Browsing 7,000 Topics Across 59 Categories