DotNetCorePdf 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package DotNetCorePdf --version 1.0.1
NuGet\Install-Package DotNetCorePdf -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DotNetCorePdf" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetCorePdf --version 1.0.1
#r "nuget: DotNetCorePdf, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DotNetCorePdf as a Cake Addin
#addin nuget:?package=DotNetCorePdf&version=1.0.1

// Install DotNetCorePdf as a Cake Tool
#tool nuget:?package=DotNetCorePdf&version=1.0.1

DotNetCorePdf

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.<br/>

Installation

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. <br/>

Installation is pretty straight forward. The typical installation is as follows:

  1. Add the nuget package to your project Install-Package DotNetCorePdf -Version 1.0.0
  2. Register the singleton service in Startup.cs (this method requires that the class be registered in the DI framework)
  3. 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)
  4. Create a converter using DotNetCorePdf.CreateStandardPdfConverter() or DotNetCorePdf.CreateUriSourcePdfConverter()
  5. Create your pdf!

Usage

Refer to our github URL: here

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request 😄

History

TODO: Write history

Credits

  1. https://wkhtmltopdf.org for there wonderful native library (that works!)
  2. https://github.com/rdvojmoc/DinkToPdf for the inspiration!

License

MIT

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.1 is compatible.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 104,058 10/28/2017
1.0.2 1,205 10/28/2017
1.0.1 1,584 10/26/2017
1.0.0 1,390 10/26/2017

Added libwkhtmltox to the package