.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

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
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