Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
/ wkhtmltopdf Public archive

C# wrapper around excellent wkhtmltopdf console utility.

Notifications You must be signed in to change notification settings

codaxy/wkhtmltopdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is no longer maintained. For advanced PDF reporting please take a look at CxReports

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:https://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.

About

C# wrapper around excellent wkhtmltopdf console utility.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages