.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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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