X39.Solutions.Papercraft.Rendering.PdfSharp 8.2.2

dotnet add package X39.Solutions.Papercraft.Rendering.PdfSharp --version 8.2.2
                    
NuGet\Install-Package X39.Solutions.Papercraft.Rendering.PdfSharp -Version 8.2.2
                    
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="X39.Solutions.Papercraft.Rendering.PdfSharp" Version="8.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="X39.Solutions.Papercraft.Rendering.PdfSharp" Version="8.2.2" />
                    
Directory.Packages.props
<PackageReference Include="X39.Solutions.Papercraft.Rendering.PdfSharp" />
                    
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 X39.Solutions.Papercraft.Rendering.PdfSharp --version 8.2.2
                    
#r "nuget: X39.Solutions.Papercraft.Rendering.PdfSharp, 8.2.2"
                    
#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 X39.Solutions.Papercraft.Rendering.PdfSharp@8.2.2
                    
#: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=X39.Solutions.Papercraft.Rendering.PdfSharp&version=8.2.2
                    
Install as a Cake Addin
#tool nuget:?package=X39.Solutions.Papercraft.Rendering.PdfSharp&version=8.2.2
                    
Install as a Cake Tool

X39.Solutions.Papercraft.Rendering.PdfSharp

X39.Solutions.Papercraft.Rendering.PdfSharp is a Papercraft render backend for PDF output through PDFsharp. It provides an alternative PDF backend for applications that want a managed PDFsharp-based renderer.

Use this package when you want to choose the PDFsharp backend explicitly. Most application code can reference X39.Solutions.Papercraft instead, which registers the default SkiaSharp renderer automatically.

Package Role

Area Provided by this package
DI entry point services.AddPapercraftPdfSharpRenderer()
Backend implementation PdfSharpRenderBackend
Display-list renderer PdfSharpDisplayListRenderer
Supported media types application/pdf
PDF attachments Embedded-file name tree and associated-file structures

The backend declares support for PDF output, multipage documents, text drawing, images, rectangular clipping, transparency, fonts, color, absolute positioning, link annotations and document attachments.

Register The Renderer

using Microsoft.Extensions.DependencyInjection;
using X39.Solutions.Papercraft.Rendering.PdfSharp;

var services = new ServiceCollection();
services.AddPapercraftPdfSharpRenderer();

AddPapercraftPdfSharpRenderer() also registers Papercraft Core services. After registration, resolve Papercraft from the service provider, create a PapercraftSession, and render with PapercraftRenderOptions.BackendId = PdfSharpRenderBackend.RendererId when multiple PDF-capable backends are registered.

Output Notes

This backend produces PDF only and does not support raster output. Attachments include names, original bytes, MIME types, descriptions, associated-file relationships, timestamps, sizes and MD5 checksums. The output does not claim PDF/A-3 conformance. PDFsharp font settings are global; applications with strict font requirements should configure PDFsharp font resolution before rendering. The package includes a lightweight text measurement service for template generation; exact wrapping and metrics can differ from the SkiaSharp backend.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
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
8.2.2 116 8/2/2026
8.2.1 100 8/2/2026
8.2.0 102 8/1/2026
8.1.2 123 7/4/2026
8.1.1 133 6/21/2026
8.1.0 126 6/17/2026
8.0.1 119 6/13/2026
8.0.0 125 6/11/2026