Papyra.Svg 1.0.0-beta.165

This is a prerelease version of Papyra.Svg.
dotnet add package Papyra.Svg --version 1.0.0-beta.165
                    
NuGet\Install-Package Papyra.Svg -Version 1.0.0-beta.165
                    
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="Papyra.Svg" Version="1.0.0-beta.165" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Papyra.Svg" Version="1.0.0-beta.165" />
                    
Directory.Packages.props
<PackageReference Include="Papyra.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 Papyra.Svg --version 1.0.0-beta.165
                    
#r "nuget: Papyra.Svg, 1.0.0-beta.165"
                    
#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 Papyra.Svg@1.0.0-beta.165
                    
#: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=Papyra.Svg&version=1.0.0-beta.165&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Papyra.Svg&version=1.0.0-beta.165&prerelease
                    
Install as a Cake Tool

Papyra.Svg

SVG support for Papyra - adds Svg() methods to the fluent builders.

using Papyra.Svg;

byte[] pdf = Document
    .Create(doc =>
    {
        doc.Heading1("Report");
        doc.Svg(File.ReadAllBytes("logo.svg"), width: 120f);
    })
    .ToPdf();
  • PDF: SVG shapes, paths, and gradients are emitted as true vector graphics - crisp at any zoom level. SVGs using features that cannot be expressed as PDF vectors (text, filters, masks, patterns) are rasterized at high resolution instead.
  • DOCX / XLSX: documents carry the original SVG (the same native SVG representation Office itself writes) plus a high-resolution PNG fallback for older viewers.
  • HTML: the SVG is embedded as-is and rendered by the browser.

Svg() is available on document bodies, table cells, paragraphs, headers and footers, page backgrounds, and watermarks - everywhere Image() works.

Papyra.Svg must be updated together with the Papyra package; it depends on the exact matching version. See the SVG guide for details.

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
1.0.0-beta.165 30 9/3/2026
1.0.0-beta.164 27 9/3/2026
1.0.0-beta.162 25 9/3/2026
1.0.0-beta.161 25 9/3/2026
1.0.0-beta.160 35 9/3/2026
1.0.0-beta.159 46 9/3/2026
1.0.0-beta.157 32 9/3/2026
1.0.0-beta.156 35 9/3/2026
1.0.0-beta.155 30 9/3/2026
1.0.0-beta.153 35 9/2/2026
1.0.0-beta.146 51 8/28/2026
1.0.0-beta.145 43 8/28/2026
1.0.0-beta.144 46 8/28/2026
1.0.0-beta.143 41 8/28/2026
1.0.0-beta.142 43 8/28/2026
1.0.0-beta.141 42 8/28/2026
1.0.0-beta.140 42 8/28/2026
1.0.0-beta.139 44 8/28/2026
1.0.0-beta.137 55 8/28/2026
1.0.0-beta.136 41 8/28/2026
Loading failed