PdfBox.Net.SystemDrawing 4.0.0-preview.1

This is a prerelease version of PdfBox.Net.SystemDrawing.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package PdfBox.Net.SystemDrawing --version 4.0.0-preview.1
                    
NuGet\Install-Package PdfBox.Net.SystemDrawing -Version 4.0.0-preview.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="PdfBox.Net.SystemDrawing" Version="4.0.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PdfBox.Net.SystemDrawing" Version="4.0.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="PdfBox.Net.SystemDrawing" />
                    
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 PdfBox.Net.SystemDrawing --version 4.0.0-preview.1
                    
#r "nuget: PdfBox.Net.SystemDrawing, 4.0.0-preview.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 PdfBox.Net.SystemDrawing@4.0.0-preview.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=PdfBox.Net.SystemDrawing&version=4.0.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=PdfBox.Net.SystemDrawing&version=4.0.0-preview.1&prerelease
                    
Install as a Cake Tool

PdfBox.Net.SystemDrawing

Optional Windows-only rendering backend that proves the core Java AWT/ImageIO proxy layer can be backed by more than one concrete graphics implementation.

This package currently implements:

  • BufferedImage pixel storage through System.Drawing.Bitmap
  • Graphics2D basic clear, image draw, and transform operations through System.Drawing.Graphics
  • Image decode/encode for PNG and JPEG through System.Drawing.Image
  • Windows print-spooler integration for PDFPrinter through System.Drawing.Printing

It intentionally does not yet implement a full PageDrawer equivalent. Calling PDF page rendering with this backend throws a clear NotSupportedException. PdfBox.Net.SkiaSharp remains the complete cross-platform rendering backend.

Install:

dotnet add package PdfBox.Net.SystemDrawing

Printing is split into two concerns:

  • page rasterization/rendering, supplied by the currently registered RenderingBackend (use PdfBox.Net.SkiaSharp for full page rendering today)
  • printer submission, supplied by SystemDrawingPrintBackend.Register()

For Windows printing with the current complete renderer:

SkiaRenderingBackend.Register();
SystemDrawingPrintBackend.Register();
new PDFPrinter(document).Print();

On non-Windows platforms the System.Drawing print backend throws a clear PlatformNotSupportedException. Core PdfBox.Net remains available without a platform print dependency and can be paired with other future print backends.

Product Compatible and additional computed target framework versions.
.NET 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
4.0.0-preview.6 26 7/17/2026
4.0.0-preview.5 40 7/15/2026
4.0.0-preview.4 35 7/15/2026
4.0.0-preview.3 40 7/14/2026
4.0.0-preview.2 62 7/7/2026
4.0.0-preview.1 51 7/2/2026
3.0.8-preview.1 52 7/2/2026

Tracks Apache PDFBox apache/pdfbox trunk (4.0.0-SNAPSHOT).