X39.Solutions.Papercraft.Controls.ZXing 8.1.1

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

X39.Solutions.Papercraft.Controls.ZXing

X39.Solutions.Papercraft.Controls.ZXing adds Papercraft barcode controls backed by ZXing.Net. The controls render ZXing BitMatrix output as Papercraft vector rectangle commands, so the package depends on X39.Solutions.Papercraft.Core but not on SkiaSharp or the compatibility package.

Use this package when templates need Code 128, EAN, UPC, Data Matrix, PDF417, Aztec or other ZXing-supported barcode formats.

Package Role

Area Provided by this package
DI entry point AddZxingBarcodeControls()
Core-only DI entry point services.AddPapercraftZxingBarcodeControls()
Generic XML control <barcode>
Dedicated XML controls <code128>, <gs1-128>, <code39>, <code93>, <codabar>, <ean13>, <ean8>, <upcA>, <upcE>, <itf>, <dataMatrix>, <pdf417>, <aztec>
Dependency ZXing.Net

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.ZXing;

services.AddPapercraft()
        .AddZxingBarcodeControls();

For a core-only package or custom renderer setup:

services.AddPapercraftCore()
        .AddZxingBarcodeControls();

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

Template Usage

Dedicated Code 128 control:

<template xmlns="X39.Solutions.PdfTemplate.Controls">
    <body>
        <code128 width="60mm" height="18mm">ORDER-12345</code128>
    </body>
</template>

Generic barcode control with a format parameter:

<barcode format="DataMatrix" width="24mm" height="24mm">
    ORDER-12345
</barcode>

Supported generic format values are Aztec, Codabar, Code39, Code93, Code128, GS1-128, DataMatrix, EAN8, EAN13, ITF, PDF417, QRCode, UPCA and UPCE.

Common parameters:

Parameter Purpose Default
value or content Barcode payload Empty, invalid at render time
format ZXing barcode format for <barcode> Code128
width Rendered width 50mm
height Rendered height 15mm
foreground Bar/module color black
background Background color transparent
quietZone ZXing margin 0
gs1Format Enable GS1 encoding hints false, forced for GS1-128
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 56 6/21/2026
8.1.0 68 6/17/2026
8.0.1 113 6/13/2026
8.0.0 110 6/11/2026
7.1.0 104 6/9/2026
7.0.0 109 6/9/2026