QuestPDF 2021.4.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package QuestPDF --version 2021.4.0
                    
NuGet\Install-Package QuestPDF -Version 2021.4.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="QuestPDF" Version="2021.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="QuestPDF" Version="2021.4.0" />
                    
Directory.Packages.props
<PackageReference Include="QuestPDF" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add QuestPDF --version 2021.4.0
                    
#r "nuget: QuestPDF, 2021.4.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package QuestPDF@2021.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=QuestPDF&version=2021.4.0
                    
Install as a Cake Addin
#tool nuget:?package=QuestPDF&version=2021.4.0
                    
Install as a Cake Tool
  1. Release notes and roadmap - everything that is planned for future library iterations, description of new features and information about potential breaking changes.
  2. Getting started tutorial - a short and easy to follow tutorial showing how to design an invoice document under 200 lines of code.
  3. API Reference - a detailed description of behavior of all available components and how to use them with C# Fluent API.
  4. Patterns and practices - everything that may help you designing great reports and reusable code that is easy to maintain.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 is compatible.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (153)

Showing the top 5 NuGet packages that depend on QuestPDF:

Package Downloads
Flexygo

Create your own Professional Solutions. Flexygo allows you to immediatly build incredible Solutions for companies, professionals and individuals. For easy installation visit https://docs.flexygo.com/

DH.QuestPDF

DH框架的Pdf处理库。基于https://github.com/QuestPDF/QuestPDF

HTMLToQPDF

Relorer.QuestPDF.HTML is an extension for QuestPDF that allows to generate PDF from HTML

AgentHub.Service.Financial.Domain.Shared

Package Description

QuestPDF.Markdown

QuestPDF.Markdown is an open-source helper library that allows rendering markdown into a QuestPDF document

GitHub repositories (22)

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

Repository Stars
Live-Charts/LiveCharts2
Beautiful, interactive charts, maps, and gauges. One API for every .NET UI framework.
ariacom/Seal-Report
Database Reporting Tool and Tasks (.Net)
neozhu/CleanArchitectureWithBlazorServer
This repository is designed to create an enterprise Blazor Server application that follows the principles of Clean Architecture and implements Blazor Clean Architecture best practices for scalability, maintainability, and testability.
ZeusAutomacao/DFe.NET
Biblioteca para Geração de NFe(2.0, 3.10 e 4.0) e NFCe(3.10 e 4.0) e consumo dos serviços necessários à sua manutenção, conforme descritos em http://www.nfe.fazenda.gov.br/portal/principal.aspx
NickvisionApps/Denaro
Manage your personal finances
cmu-sei/GHOSTS
GHOSTS (General Human-Oriented Synthetic Teammates and Systems) is a realistic user simulation framework for cyber experimentation, simulation, training, and exercise
Ozark-Connect/NetworkOptimizer
Self-hosted performance optimization and security audit tool for UniFi Networks. Includes Wi-Fi Optimizer for wireless health scoring and channel optimization, advanced DNS/VLAN/firewall security checks, config optimization suggestions, centralized WAN and LAN speed test server w/ Layer 2 tracing, U5G-Max modem stats, and more.​​​​​​​​​​​​​​​​
EvotecIT/OfficeIMO
Fast and easy to use cross-platform .NET library that creates or modifies Microsoft Word (DocX) and later also Excel (XLSX) files without installing any software. Library is based on Open XML SDK
YSGStudyHards/DotNetExercises
⚔【DotNetGuide专栏C#/.NET/.NET Core编程技巧练习集】C#/.NET/.NET Core编程常用语法、算法、技巧、中间件、类库、工作业务实操练习集,配套详细的文章教程和代码示例,助力快速掌握C#/.NET/.NET Core中各种编程常用语法、算法、技巧、中间件、类库、工作业务实操等等。
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
QuestPDF/QuestPDF-ExampleInvoice
zmrid/iMES-Factory
iMES工厂管家——您的新一代工厂助手。演示地址:https://imes.625sc.com。 一款基于.NetCore3.1和Vue3的MES管理系统。项目亮点:模版打印,Excel模版导出,自定义实体扩展,移动端精美设计,大屏设计等功能。
BoletoNet/BoletoNetCore
Versão do BoletoNet para .NET Core
Hercules-NET/ZeusFiscal
A Principal Biblioteca em C# para Emissão e Impressão de NFe, NFCe, MDF-e e CT-e
markjprice/apps-services-net8
Repository for the Packt Publishing book titled "Apps and Services with .NET 8" by Mark J. Price
kyoyama-kazusa/Sudoku
A sudoku solver using brute forces and logical techniques.
suxrobGM/logistics-app
AI-powered fleet management platform with an agentic dispatcher that autonomously matches loads to trucks, ensures HOS compliance, and optimizes routes. Built for trucking companies.
bingbing-gui/dotnet-agent-playbook
一个面向 .NET + AI Agent 开发的实践型仓库,涵盖 Web、云原生与微服务场景,聚焦智能应用的工程化落地。
zy-zmc/tianming-novel-ai-writer
天命 — AI网文创作系统 | 12维事实快照 · 9类变更声明 · 6道生成门禁 | 写到3000章依然连贯,不靠模型记忆,靠每章状态回写
Relorer/HTMLToQPDF
HTMLToQPDF is an extension for QuestPDF that allows to generate PDF from HTML
Version Downloads Last Updated
2026.5.0 11,572 5/9/2026
2026.2.4 571,055 3/20/2026
2026.2.3 243,633 3/5/2026
2026.2.3-alpha 163 3/5/2026
2026.2.2 90,911 2/25/2026
2026.2.1 132,718 2/17/2026
2026.2.0 45,473 2/13/2026
2025.12.4 175,554 2/6/2026
2025.12.3.1-alpha2 6,371 1/18/2026
2025.12.3.1-alpha 175 1/17/2026
2025.12.3 372,721 1/16/2026
2025.12.2 49,994 1/12/2026
2025.12.1 331,995 12/25/2025
2025.12.0 202,603 12/12/2025
2025.12.0-alpha4 12,437 11/7/2025
2025.12.0-alpha3 1,901 10/31/2025
2025.12.0-alpha2 4,236 10/8/2025
2025.7.4 577,301 11/3/2025
2025.7.3 312,768 10/14/2025
2021.4.0 1,929 4/2/2021
Loading failed

1. Added new element: `Debug` - this element can be used for inspecting its children and space taken by them,
           2. Added new element: `Element` can be used for injecting dynamic elements (usually conditionally) without breaking the fluent API chain. This is practically a syntactic sugar to simplify your code.
           3. The `AspectRatio` element allows now to specify scaling rule: fitting width, height or available space.
           4. The `Image` element supports now scaling rules: fitting width, height or available space, as well as scaling unproportionally.
           5. Added more, commonly used page sizes (thank you for your work [lmingle](https://github.com/lmingle)).
           6. Bug fix: the `GeneratePdf(Stream stream)` method does not close the output stream (thank you for your suggestion [tthiery](https://github.com/tthiery)).