Skip to main content

Optional Windows System.Drawing image helpers and print-spooler backend for PdfBox.Net.

Total Downloads
883
883
Published
Aug 2, 2026
3mo ago

Get Started

dotnet add package PdfBox.Net.SystemDrawing --version 3.0.8
ProductVersions
.NET
net10.0-windows7.0

README

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.

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.