Optional Windows System.Drawing image helpers and print-spooler backend for PdfBox.Net.
Get Started
| Product | Versions |
|---|---|
| .NET |
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:
BufferedImagepixel storage throughSystem.Drawing.BitmapGraphics2Dbasic clear, image draw, and transform operations throughSystem.Drawing.Graphics- Image decode/encode for PNG and JPEG through
System.Drawing.Image - Windows print-spooler integration for
PDFPrinterthroughSystem.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(usePdfBox.Net.SkiaSharpfor 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.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.