QuestPDF 2021.10 - a new version of the open-source, MIT-licensed, C# library for generating PDF documents with fluent API, now with extended text capabilities. Please help me make it popular :)

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/csharp

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SaaSHub - Software Alternatives and Reviews
  • library

    QuestPDF is an open-source, modern and battle-tested library that can help you with generating PDF documents by offering friendly, discoverable and predictable C# fluent API. (by questpdf)

    Two months ago, I have shared with you my open-source library designed for generating PDF documents in .NET applications. The way how QuestPDF differs from other libraries is simple: instead of relying on an HTML-to-PDF conversion, it implements its own layouting engine that renders the full content using the SkiaSharp library (a Skia port for .NET, used in Chrome, Android, Xamarin, etc.). I have written this layouting engine with full paging support in mind. That means the document content is aware of page size, can be moved to the next page (if there is not enough space) or even be split between pages (e.g. table rows) - there are many elements to help you implementing the desired paging behaviour. Additionally, you have full access to various simple elements (e.g. border, background, image, text, padding, etc.) that are essential building blocks of complex layouts. This way, you have a set of easy to learn and understand tools that are highly composable and predictable which reduces the time of development.

  • Try out the sample project to see how easy it is to create an invoice 📊,

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • WeasyPrint

    The awesome document factory

    I’d recommend Weasyprint (.net core wrapper) instead of wkhtmltopdf. It supports CSS Paged Media which is pretty much required for everything but the simplest of HTML2PDF conversions.

  • WeasyPrint-netcore

    WeasyPrint Wrapper for .Net on Windows

    I’d recommend Weasyprint (.net core wrapper) instead of wkhtmltopdf. It supports CSS Paged Media which is pretty much required for everything but the simplest of HTML2PDF conversions.

  • playwright-dotnet

    .NET version of the Playwright testing and automation library.

    If you've already got ASP.NET generating pages then you should try use this to save pages as PDF: https://github.com/microsoft/playwright-dotnet

  • QuestPDF

    QuestPDF is a modern open-source .NET library for PDF document generation. Offering comprehensive layout engine powered by concise and discoverable C# Fluent API. Easily generate PDF reports, invoices, exports, etc.

    Yes, please create new issue on GitHub :) This particular feature was already proposed a couple of days ago. I was able to implement it and within days it will be available in the prerelease channel. More info: https://github.com/QuestPDF/QuestPDF/issues/29

  • SkiaSharp

    SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.

    So far, I've found this: https://github.com/mono/SkiaSharp/issues/848 :(

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts