Skip to content
jarlemPublic
forked from pug-pelle-p/pugpdf

About

WkHtmlToPdf .net core wrapper

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

PugPDF

A WkHtmlToPdf .net core wrapper.

It includes all binaries to run wkhtmltopdf, no external dependencies.

NuGet

To get started you can download the prebuilt NuGet package.

Usage

var renderer = new HtmlToPdf();

renderer.PrintOptions.Title = "My title";

var pdf = await renderer.RenderHtmlAsPdfAsync("<h1>Hello world</h1>");

pdf.SaveAs("c:\\my.pdf");

// Or

var byteArray = pdf.BinaryData;

About

WkHtmlToPdf .net core wrapper

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages