QuestPDF 2022.6.3

.NET 6.0 .NET Core 2.0 .NET Standard 2.0 .NET Framework 4.6.2
Install-Package QuestPDF -Version 2022.6.3
dotnet add package QuestPDF --version 2022.6.3
<PackageReference Include="QuestPDF" Version="2022.6.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add QuestPDF --version 2022.6.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: QuestPDF, 2022.6.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install QuestPDF as a Cake Addin
#addin nuget:?package=QuestPDF&version=2022.6.3

// Install QuestPDF as a Cake Tool
#tool nuget:?package=QuestPDF&version=2022.6.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Dotnet GitHub Repo stars Nuget version Nuget download License Sponsor project

QuestPDF is an open-source .NET library for PDF documents generation.

It offers a layout engine designed with a full paging support in mind. The document consists of many simple elements (e.g. border, background, image, text, padding, table, grid etc.) that are composed together to create more complex structures. This way, as a developer, you can understand the behavior of every element and use them with full confidence. Additionally, the document and all its elements support paging functionality. For example, an element can be moved to the next page (if there is not enough space) or even be split between pages like table's rows.


Getting started tutorial A short and easy to follow tutorial showing how to design an invoice document under 200 lines of code.

API reference A detailed description of behavior of all available components and how to use them with C# Fluent API.

Patterns and Practices Everything that may help you designing great reports and create reusable code that is easy to maintain.

Simplicity is the key

How easy it is to start and prototype with QuestPDF? Really easy thanks to its minimal API! Please analyse the code below:

using QuestPDF.Fluent;
using QuestPDF.Helpers;
using QuestPDF.Infrastructure;

// code in your main method
Document.Create(container =>
    container.Page(page =>
        page.Margin(2, Unit.Centimetre);
        page.DefaultTextStyle(x => x.FontSize(20));
            .Text("Hello PDF!")
            .PaddingVertical(1, Unit.Centimetre)
            .Column(x =>
                x.Item().Image(Placeholders.Image(200, 100));
            .Text(x =>
                x.Span("Page ");

And compare it to the produced PDF file:


Are you ready for more?

The Fluent API of QuestPDF scales really well. It is easy to create and maintain even most complex documents. Read the Getting started tutorial to learn QuestPDF basics and implement an invoice under 200 lines of code. You can also investigate and play with the code from the example repository.


Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on QuestPDF:

Package Downloads

Package Description


A2v10 Platform PDF report

Verify.QuestPDF The ID prefix of this package has been reserved for one of the owners of this package by

Extends Verify ( to allow verification via QuestPDF.


PDF report engine for A2v10


Package Description

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on QuestPDF:

Repository Stars
Simple, flexible, interactive & powerful charts, maps and gauges for .Net, LiveCharts2 can now practically run everywhere Maui, Uno Platform, Blazor-wasm, WPF, WinForms, Xamarin, Avalonia, WinUI, UWP.
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
Versão do BoletoNet para .NET Core
Version Downloads Last updated
2022.6.3 7,212 7/18/2022
2022.6.2 16,244 6/22/2022
2022.6.1 6,419 6/12/2022
2022.6.0 9,054 6/12/2022
2022.6.0-prerelease 593 5/30/2022
2022.5.0 55,479 5/9/2022
2022.4.1 16,782 4/8/2022
2022.4.0 11,533 4/4/2022
2022.4.0-alpha1 86 3/27/2022
2022.4.0-alpha0 55 3/27/2022
2022.3.1 38,836 3/15/2022
2022.3.0 872 3/14/2022
2022.2.7 966 3/12/2022
2022.2.6 3,252 3/8/2022
2022.2.5 7,548 2/18/2022
2022.2.4 99 2/18/2022
2022.2.3 6,034 2/7/2022
2022.2.2 782 2/1/2022
2022.2.1 634 1/30/2022
2022.2.0 584 1/29/2022
2022.2.0-beta1 82 1/24/2022
2022.1.0 9,062 1/10/2022
2022.1.0-beta5 509 1/7/2022
2022.1.0-beta4 80 1/6/2022
2022.1.0-beta3 82 1/5/2022
2022.1.0-beta2 77 1/5/2022
2022.1.0-beta1 83 1/3/2022
2022.1.0-beta0 77 12/30/2021
2022.1.0-alpha0 95 12/30/2021
2021.12.0 13,100 12/6/2021
2021.12.0-alpha1 901 11/29/2021
2021.12.0-alpha0 141 11/18/2021
2021.11.4 9,637 11/14/2021
2021.11.3 2,694 11/7/2021
2021.11.0-beta3 137 11/3/2021
2021.11.0-beta2 185 10/28/2021
2021.11.0-beta 237 10/23/2021
2021.10.1 5,486 9/30/2021
2021.10.0 232 9/30/2021
2021.10.0-beta.2 140 9/14/2021
2021.10.0-beta 172 9/13/2021
2021.9.3 1,871 9/12/2021
2021.9.2 284 9/1/2021
2021.9.1 167 9/1/2021
2021.9.0 159 8/30/2021
2021.8.0 1,992 8/2/2021
2021.5.2 1,637 5/5/2021
2021.4.0 366 4/2/2021
2021.3.1 6,344 3/1/2021
2021.3.0 189 3/1/2021
2021.2.0 196 2/8/2021
2021.1.0 227 1/4/2021
2020.11.0 2,705 11/1/2020

Integrated the text-shaping algorithm. This change significantly improves the Unicode compatibility. Also, it extends support for more advanced languages (e.g. Arabic) that:
1) Combine multiple text characters and display them as a single visual glyph.
2) Are displayed in the right-to-left order.

Improved the exception message when SkiaSharp throws the TypeInitializationException. On some operating systems, SkiaSharp requires additional dependencies installed as nuget packages. This change should help developers determine how to choose and install them correctly.

Fixed: a rare case when the Row.AutoItem() does not correctly calculate the width of its content.

Fixed: the QuestPDF Previewer does not work with content-rich documents.