Dotnetcore PDF html based generator. Uses the libwkhtmltox native libraries to genrate pdf data.
More information on the libwkhtmltox native libraries can be found here.
Currently compiled to dotnetcore version 1.1 so you will need to have dotnetcore 1.1 installed in your project or you can download the source and change the dotnetcore framework to your prefered framework.
Installation is pretty straight forward. The typical installation is as follows:
- Add the nuget package to your project
Install-Package DotNetCorePdf -Version 1.0.0
- Register the singleton service in Startup.cs (this method requires that the class be registered in the DI framework)
- Add DotNetCorePdf to the constructor of the class you want to use it in. (this method requires that the class be registered in the DI framework)
- Create a converter using DotNetCorePdf.CreateStandardPdfConverter() or DotNetCorePdf.CreateUriSourcePdfConverter()
- Create your pdf!
Refer to our github URL: here
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
TODO: Write history
- https://wkhtmltopdf.org for there wonderful native library (that works!)
- https://github.com/rdvojmoc/DinkToPdf for the inspiration!
MIT