X39.Solutions.Papercraft.Rendering.Svg 8.2.2

dotnet add package X39.Solutions.Papercraft.Rendering.Svg --version 8.2.2
                    
NuGet\Install-Package X39.Solutions.Papercraft.Rendering.Svg -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.Svg" 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.Svg" Version="8.2.2" />
                    
Directory.Packages.props
<PackageReference Include="X39.Solutions.Papercraft.Rendering.Svg" />
                    
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.Svg --version 8.2.2
                    
#r "nuget: X39.Solutions.Papercraft.Rendering.Svg, 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.Svg@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.Svg&version=8.2.2
                    
Install as a Cake Addin
#tool nuget:?package=X39.Solutions.Papercraft.Rendering.Svg&version=8.2.2
                    
Install as a Cake Tool

X39.Solutions.Papercraft.Rendering.Svg

X39.Solutions.Papercraft.Rendering.Svg is a Papercraft render backend for SVG vector output. It emits SVG XML directly from Papercraft display lists and does not add native rendering dependencies.

Use this package when you want image/svg+xml output from generated Papercraft documents.

Package Role

Area Provided by this package
DI entry point services.AddPapercraftSvgRenderer()
Backend implementation SvgRenderBackend
Supported media types image/svg+xml

The backend declares support for vector image output, multipage documents, text drawing, images, clipping, transparency, fonts, color, absolute positioning and link annotations.

Register The Renderer

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

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

AddPapercraftSvgRenderer() also registers Papercraft Core services. After registration, resolve Papercraft from the service provider, create a PapercraftSession, and render to RenderTarget.FromMediaType("image/svg+xml").

Output Notes

Multi-page documents are emitted as one SVG with page groups stacked vertically. Images are embedded as data URIs when their encoded media type is recognized. Fonts are referenced by family and style attributes rather than embedded. 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 107 8/2/2026
8.2.1 97 8/2/2026
8.2.0 100 8/1/2026
8.1.2 125 7/4/2026
8.1.1 119 6/21/2026
8.1.0 121 6/17/2026
8.0.1 120 6/13/2026
8.0.0 112 6/11/2026