QuestPDF 2021.4.0

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.

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package QuestPDF -Version 2021.4.0
dotnet add package QuestPDF --version 2021.4.0
<PackageReference Include="QuestPDF" Version="2021.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add QuestPDF --version 2021.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: QuestPDF, 2021.4.0"
#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=2021.4.0

// Install QuestPDF as a Cake Tool
#tool nuget:?package=QuestPDF&version=2021.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
  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.
  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.

Release Notes

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

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2021.5.0-alpha2 0 4/21/2021
2021.5.0-alpha 49 4/15/2021
2021.4.0 80 4/2/2021
2021.3.1 952 3/1/2021
2021.3.0 59 3/1/2021
2021.2.0 50 2/8/2021
2021.1.0 78 1/4/2021
2020.11.0 508 11/1/2020