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
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
  • SonarQube - Static code analysis for 29 languages.
  • 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 📊,

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • 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 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.

    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 :(

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

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