VOOZH about

URL: https://www.nuget.org/packages/MarcoBellini.FastReport.PDFExporter/

⇱ NuGet Gallery | MarcoBellini.FastReport.PDFExporter 2026.2.1




👁 Image
MarcoBellini.FastReport.PDFExporter 2026.2.1

dotnet add package MarcoBellini.FastReport.PDFExporter --version 2026.2.1
 
 
NuGet\Install-Package MarcoBellini.FastReport.PDFExporter -Version 2026.2.1
 
 
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="MarcoBellini.FastReport.PDFExporter" Version="2026.2.1" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MarcoBellini.FastReport.PDFExporter" Version="2026.2.1" />
 
Directory.Packages.props
<PackageReference Include="MarcoBellini.FastReport.PDFExporter" />
 
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 MarcoBellini.FastReport.PDFExporter --version 2026.2.1
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MarcoBellini.FastReport.PDFExporter, 2026.2.1"
 
 
#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 MarcoBellini.FastReport.PDFExporter@2026.2.1
 
 
#: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=MarcoBellini.FastReport.PDFExporter&version=2026.2.1
 
Install as a Cake Addin
#tool nuget:?package=MarcoBellini.FastReport.PDFExporter&version=2026.2.1
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

MarcoBellini.FastReport.PDFExporter

👁 NuGet

Improved PDF Exporter for FastReport Open Source using PDFSharp-GDI as the rendering engine.

This project aims to improve PDF generation quality and reduce output file size compared to the default PDF exporter shipped with the FastReport Open Source edition.

Note: This project is not intended to replace FastReport's commercial offerings. If you need advanced or enterprise-grade features, consider the official commercial products.


Key Features

  • Higher-quality PDF rendering compared to the default FastReport Open Source exporter
  • Typically smaller PDF output files
  • Rendering based on PDFSharp-GDI (GDI-based font resolver)

Requirements

  • .NET 8 or later
  • Windows OS (see Platform Support)
  • FastReport Open Source (compatible versions: >=2026.1.4)

Installation

Install via NuGet Package Manager:

dotnet add package MarcoBellini.FastReport.PDFExporter

Usage

Basic export to file

using MarcoBellini.FastReport.PDFExporter;

void ExportReport()
{
 using var report = new Report();
 using var pdfExport = new PDFExport();

 report.Load("Reports/MyReport.frx");
 report.Prepare();

 var outputPath = Path.Combine(Path.GetTempPath(), "Report.pdf");
 report.Export(pdfExport, outputPath);
}

Export to a memory stream (e.g. for ASP.NET Core responses)

using MarcoBellini.FastReport.PDFExporter;

byte[] ExportReportToBytes()
{
 using var report = new Report();
 using var pdfExport = new PDFExport();
 using var stream = new MemoryStream();

 report.Load("Reports/MyReport.frx");
 report.Prepare();
 report.Export(pdfExport, stream);

 return stream.ToArray();
}

Export with data source

using MarcoBellini.FastReport.PDFExporter;

void ExportReportWithData(IEnumerable<MyRecord> data)
{
 using var report = new Report();
 using var pdfExport = new PDFExport();

 report.Load("Reports/MyReport.frx");
 report.RegisterData(data, "MyDataSource");
 report.Prepare();

 var outputPath = Path.Combine(Path.GetTempPath(), "Report.pdf");
 report.Export(pdfExport, outputPath);
}

Platform Support (Windows Only)

This exporter is Windows-only due to the following dependencies:

  • FastReport Open Source relies on System.Drawing.Common, which Microsoft has restricted to Windows starting with .NET 6 (see docs)
  • PDFSharp-GDI uses GDI for font resolving and rendering

It can be used in:

  • Windows desktop applications (WinForms, WPF, console)
  • ASP.NET Core, as long as it runs on a Windows host

Limitations

Unsupported Brush Types

The following brush types are not compatible with PDFSharp and will not render correctly:

  • PathGradientBrush
  • HatchBrush
  • TextureBrush

Why? PDFSharp does not have a direct equivalent for these GDI+ brush types, so they cannot be translated into PDF drawing instructions.

Pen LineCap Limitations

  • Pens with different start and end caps are not supported
  • LineCap.Triangle is not supported

Dependencies / Related Projects


Contributing

Contributions, bug reports, and feature requests are welcome! Feel free to open an or submit a .

Please make sure to:

  • Describe the problem or improvement clearly
  • Include a minimal reproducible example if reporting a bug
  • Follow the existing code style

License

This project is licensed under the MIT License. See the file for details.

Product Versions Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 net8.0-windows7.0 is compatible.  net9.0-windows net9.0-windows was computed.  net9.0-windows7.0 net9.0-windows7.0 is compatible.  net10.0-windows net10.0-windows was computed.  net10.0-windows7.0 net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2026.2.1 113 5/20/2026
2026.2.0 122 4/12/2026
2026.1.8 121 3/29/2026
2026.1.5 133 3/14/2026
2026.1.4 117 3/1/2026