X39.Solutions.Papercraft.Controls.QrCode 8.1.1

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

X39.Solutions.Papercraft.Controls.QrCode

X39.Solutions.Papercraft.Controls.QrCode adds a dedicated Papercraft qrCode XML control backed by Net.Codecrete.QrCodeGenerator. The control renders QR modules as Papercraft vector rectangle commands, so it stays renderer-neutral and does not depend on SkiaSharp.

Use this package when templates need QR codes and you do not need the broader ZXing barcode package.

Package Role

Area Provided by this package
DI entry point AddQrCodeControls()
Core-only DI entry point services.AddPapercraftQrCodeControls()
XML control <qrCode>
Dependency Net.Codecrete.QrCodeGenerator

Register Controls

For normal applications that already use the default Papercraft facade:

using Microsoft.Extensions.DependencyInjection;
using X39.Solutions.Papercraft;
using X39.Solutions.Papercraft.Controls.QrCode;

services.AddPapercraft()
        .AddQrCodeControls();

For a core-only package or custom renderer setup:

services.AddPapercraftCore()
        .AddQrCodeControls();

services.AddPapercraftQrCodeControls() is also available when you only want to register Core plus QR controls. It does not add a renderer backend by itself.

Template Usage

<template xmlns="X39.Solutions.PdfTemplate.Controls">
    <body>
        <qrCode size="30mm" errorCorrection="High">
            https://example.com/order/123
        </qrCode>
    </body>
</template>

Supported parameters:

Parameter Purpose Default
value or content QR code payload Empty, invalid at render time
size Rendered square size 25mm
foreground Module color black
background Background color transparent
quietZone Quiet-zone module count 4
errorCorrection Low, Medium, Quartile or High Medium
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.1.1 91 6/21/2026
8.1.0 88 6/17/2026
8.0.1 99 6/13/2026
8.0.0 106 6/11/2026
7.1.0 96 6/9/2026
7.0.0 95 6/9/2026