.NET Core P/Invoke wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF. Copy the native library to root folder of your project. From there .NET Core loads the native library when the native method is called with P/Invoke. You can find the latest version of the native library. Select the appropriate library for your OS and platform (64 or 32-bit). The library was not tested with IIS. The library was tested in console applications and with Kestrel web server both for Web Applications and Web API.

Features

  • Basic converter
  • Synchronized converter
  • Define document to convert
  • Dependency injection
  • Converter must be registered as singleton
  • Library can be installed through Nuget

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow DinkToPdf

DinkToPdf Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DinkToPdf!

Additional Project Details

Programming Language

C#

Related Categories

C# HTML XHTML, C# PDF Editors

Registered

2023-05-02