Popularity
4.3
Stable
Activity
0.0
Stable
239
22
81

Programming language: C#
Tags: Pdf    

WkhtmlToPdf alternatives and similar packages

Based on the "PDF" category

Do you think we are missing an alternative of WkhtmlToPdf or a related project?

Add another 'PDF' Package

README

Codaxy.WkHtmlToPdf

This is a small C# wrapper utility around wkhtmltopdf console tool. You can use it to easily convert HTML reports to PDF.

NuGet

NuGet includes single source file in your project.

Install-Package Codaxy.WkHtmlToPdf

Usage

PdfConvert.ConvertHtmlToPdf(new PdfDocument 
{ 
    Url = "http://wkhtmltopdf.org/",
    HeaderLeft = "[title]",
    HeaderRight = "[date] [time]",
    FooterCenter = "Page [page] of [topage]"

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

Licence

This project is available under MIT Licence.