BRPDF 2025.7.0
dotnet add package BRPDF --version 2025.7.0
NuGet\Install-Package BRPDF -Version 2025.7.0
<PackageReference Include="BRPDF" Version="2025.7.0" />
<PackageVersion Include="BRPDF" Version="2025.7.0" />
<PackageReference Include="BRPDF" />
paket add BRPDF --version 2025.7.0
#r "nuget: BRPDF, 2025.7.0"
#:package BRPDF@2025.7.0
#addin nuget:?package=BRPDF&version=2025.7.0
#tool nuget:?package=BRPDF&version=2025.7.0
QuestPDF - Modern PDF library for C# developers
Generate and manipulate PDF documents in your .NET applications using the open-source QuestPDF library and its C# Fluent API.
Quick Start
Learn how easy it is to design, implement and generate PDF documents using QuestPDF. Effortlessly create documents of all types such as invoices and reports.
using QuestPDF.Fluent;
using QuestPDF.Helpers;
using QuestPDF.Infrastructure;
// code in your main method
Document.Create(container =>
{
container.Page(page =>
{
page.Size(PageSizes.A4);
page.Margin(2, Unit.Centimetre);
page.Background(Colors.White);
page.DefaultTextStyle(x => x.FontSize(20));
page.Header()
.Text("Hello PDF!")
.SemiBold().FontSize(36).FontColor(Colors.Blue.Medium);
page.Content()
.PaddingVertical(1, Unit.Centimetre)
.Column(x =>
{
x.Spacing(20);
x.Item().Text(Placeholders.LoremIpsum());
x.Item().Image(Placeholders.Image(200, 100));
});
page.Footer()
.AlignCenter()
.Text(x =>
{
x.Span("Page ");
x.CurrentPageNumber();
});
});
})
.GeneratePdf("hello.pdf");
Code-Focused Paradigm
Modular and Maintainable C# Code
Implement modular PDF layouts with reusable well-organized classes and methods. Refactor safely with IntelliSense - your logic stays seamlessly integrated with your domain code.
Familiar Programming Concepts
Use conditions, loops, LINQ, and extension methods to effortlessly generate dynamic, data-driven PDF documents tailored to your unique business needs.
Git-Friendly Workflow
Enjoy straightforward C# code reviews, meaningful pull-request diffs, and cleaner version control histories.
.Column(column =>
{
if (Model.Comments != null)
column.Item().Text(Model.Comments);
foreach(var item in Model.Items)
column.Item().Element(c => CreateItem(c, item);
});
void CreateItem(IContainer container, Item item)
{
container
- .Background(Colors.Grey.Lighten2)
+ .Background(item.Color)
.Padding(10)
.Text(item.Text);
}
Companion App
Accelerate your development with live document preview powered by the hot-reload capability, eliminating the need for C# code recompilation.
- Explore PDF document structure and hierarchy
- Quickly magnify and measure content
- Debug runtime exceptions with stack traces and code snippets
- Identify, understand and solve layout errors
Exactly what you need
Comprehensive Layout Engine
A powerful layout engine built specifically for PDF generation. Gain full control over document structure, precise content positioning, and automatic pagination for complex reports and invoices.
Rich Toolkit
Accelerate your PDF development workflow with a rich set of reusable components and over 50 layout elements. Easily implement data-driven documents using a Fluent C# API.
High Performance
Generate PDF files at scale with up to thousands of pages per second - while maintaining minimal CPU and memory usage. Perfect for high-throughput .NET applications.
Advanced Language Support
Create multilingual PDF documents with full support for right-to-left (RTL) languages, advanced text shaping, and bi-directional layout handling.
Perform common PDF operations
Leverage a powerful C# Fluent API to create, customize, and manage your PDF documents with ease.
- Merge documents
- Attach files
- Extract pages
- Encrypt / decrypt
- Extend metadata – Limit access
- Optimize for Web
- Overlay / underlay
DocumentOperation
.LoadFile("input.pdf")
.TakePages("1-10")
.MergeFile("appendix.pdf", "1-z") // all pages
.AddAttachment(new DocumentAttachment
{
FilePath = "metadata.xml"
})
.Encrypt(new Encryption256Bit
{
OwnerPassword = "mypassword",
AllowPrinting = true,
AllowContentExtraction = false
})
.Save("final-document.pdf");
Multiplatform
Supports all major operating systems and works seamlessly with leading IDEs, cloud platforms, and modern development tools.
Technologies
: modern dotnet, legacy .NET Framework, DockerOperating systems
: Windows, Linux, MacOSCloud providers
: Azure, AWS, Google CloudIDE
: Visual Studio, Visual Code, JetBrains Rider, others
Fair and Sustainable License
By offering free access to most users and premium licenses for larger organizations, the project maintains its commitment to excellence:
- Long-term and sustainable development
- Regular feature, performance, quality and security updates
- Active community and enterprise support
Free for individuals, non-profits, and businesses under $1M in annual revenue, as well as all FOSS projects.
Let's get started
Follow our detailed tutorial, and see how easy it is to generate a fully functional invoice with fewer than 250 lines of C# code.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. 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. |
-
.NETStandard 2.0
- System.Numerics.Vectors (>= 4.5.0)
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
2025.7.0 | 230 | 8/6/2025 |
- Line element: Added gradient and dashed pattern support
- Background element: Added linear gradient (multiple colors, arbitrary angle) and rounded corners
- Border element: Added linear gradient (multiple colors, arbitrary angle), rounded corners, and alignment options (inside, outside, center)
- Shadow element (new): Added blur, color, offset, and spread support
- Internal: Introduced visual snapshot testing for the generation process
- Updated Skia dependency to M138