Barcode-net
10.0.0.3
dotnet add package Barcode-net --version 10.0.0.3
NuGet\Install-Package Barcode-net -Version 10.0.0.3
<PackageReference Include="Barcode-net" Version="10.0.0.3" />
<PackageVersion Include="Barcode-net" Version="10.0.0.3" />
<PackageReference Include="Barcode-net" />
paket add Barcode-net --version 10.0.0.3
#r "nuget: Barcode-net, 10.0.0.3"
#:package Barcode-net@10.0.0.3
#addin nuget:?package=Barcode-net&version=10.0.0.3
#tool nuget:?package=Barcode-net&version=10.0.0.3
Barcode.net
<img src="https://www.pao.ac/barcode.net/images/logo.webp" alt="Barcode.net Logo" width="230"/>
.NET開発者向けバーコード作成ライブラリ - 24年の実績、国内シェアNo.1
パッケージIDと名前空間
| パッケージ | パッケージID(NuGet) | 名前空間(Assembly) |
|---|---|---|
| GDI+版 | Barcode-net |
Pao.BarCode |
| WPF版 | Barcode-net.Wpf |
Pao.BarCode.Wpf |
| ImageSharp版 | Barcode-net.ImageSharp |
Pao.BarCode.ImageSharp |
| SkiaSharp版 | Barcode-net.Skia |
Pao.BarCode.Skia |
| MAUI版 | Barcode-net.Maui |
Pao.BarCode.Maui |
概要
Barcode.net は、C#/VB.NET 開発者向けのバーコード作成ライブラリです。2001年のリリース以来、24年間にわたり国内.NET開発者に愛用され続けている、国内シェアNo.1のバーコードライブラリです。
ver 5.0.0 は Barcode.net 史上最大のアップデートです。従来のGDI+専用からクロスプラットフォーム対応となり、Windows / Linux / macOS / iOS / Android で動作するようになりました。
NuGetパッケージ(評価版・製品版共通)
Barcode.net は用途に応じて5つのNuGetパッケージを提供しています:
🖥️ Barcode-net (GDI+版)
Windows デスクトップアプリケーション用
dotnet add package Barcode-net
- Windows Forms、コンソールアプリケーション向け
- .NET Framework 2.0~4.8.1 / .NET 5~10 対応
- 最も安定・高精度
🎨 Barcode-net.Wpf (WPF版)
WPF アプリケーション用
dotnet add package Barcode-net.Wpf
- WPF標準のDrawingContextに直接描画
- .NET Framework 4.0~4.8.1 / .NET 5~10 対応
🖼️ Barcode-net.ImageSharp (ImageSharp版)
Linux / Web サーバー用
dotnet add package Barcode-net.ImageSharp
- SixLabors.ImageSharpベース
- Linux / Windows / macOS 対応
- Blazor WebAssembly で使用可能な唯一の選択肢
- .NET 6~10 対応
⚡ Barcode-net.Skia (SkiaSharp版)
クロスプラットフォーム用
dotnet add package Barcode-net.Skia
- SkiaSharpベース
- 高速描画エンジン
- Linux / Web / MAUI 対応
- .NET 6~10 対応
📱 Barcode-net.Maui (MAUI版)
モバイル / デスクトップ用
dotnet add package Barcode-net.Maui
- Microsoft.Maui.Graphicsベース
- iOS / Android / Windows / macOS 対応
- .NET 8~10 対応
対応フレームワーク
| パッケージ | .NET Framework | .NET |
|---|---|---|
| Barcode-net | 2.0 ~ 4.8.1 | 5 ~ 10 |
| Barcode-net.Wpf | 4.0 ~ 4.8.1 | 5 ~ 10 |
| Barcode-net.ImageSharp | ❌ 非対応 | 6 ~ 10 |
| Barcode-net.Skia | ❌ 非対応 | 6 ~ 10 |
| Barcode-net.Maui | ❌ 非対応 | 8 ~ 10 |
バージョニング戦略
NuGetパッケージバージョン = .NETバージョン
<PackageReference Include="Barcode-net" Version="4.8.0.0" />
<PackageReference Include="Barcode-net" Version="8.0.0.0" />
<PackageReference Include="Barcode-net" Version="10.0.0.0" />
特徴
🏆 24年の実績・国内シェアNo.1
- 2001年リリース以来、24年間にわたり多くの開発者に愛用
- .NET国内シェアNo.1を長年保持
🎯 高い精度
- RJS製バーコード検査機 Model L2000 で精度検査済み
- プリンタによる線のにじみにも対応(バー幅微調整機能)
- Draw()メソッドの精度が格段に向上(ver 5.0.0)
⚡ 使いやすさ - 2ステップでバーコード生成
- 直感的なインターフェース
- インスタンス生成 → Draw() の2ステップで完結
🌍 クロスプラットフォーム対応(ver 5.0.0 新機能)
- Windows / Linux / macOS / iOS / Android 対応
- Docker / コンテナ環境対応
- Azure / AWS / GCP クラウド環境対応
📄 多彩な出力形式
- グラフィックスオブジェクトへの直接描画
- SVGファイル / SVG文字列出力(ver 5.0.0 新機能)
- Base64文字列 / メモリストリーム出力(ver 5.0.0 新機能)
- 画像ファイル保存(PNG / JPEG / BMP / GIF / TIFF)
🎨 カスタマイズ性
- BackColor / ForeColor 指定対応(ver 5.0.0 新機能)
- 回転角度(0°/90°/180°/270°/任意角度)
- フォント設定、バー幅微調整
💨 軽量
- わずか数MBのメモリで動作
- システムへの負荷が極めて小さい
対応バーコード(24種類)
1次元バーコード
| バーコード種類 | 備考 |
|---|---|
| JAN-13 (EAN-13) | 日本の標準バーコード |
| JAN-8 (EAN-8) | 小型商品用 |
| UPC-A | 北米標準 |
| UPC-E | 小型商品用 |
| Code39 | 英数字対応 |
| Code93 | Code39の高密度版 |
| Code128 | 全ASCII対応 |
| GS1-128 (UCC/EAN-128) | 物流・医療用 |
| ITF (Interleaved 2 of 5) | 物流用 |
| Matrix 2of5 | 産業用 |
| NEC 2of5 (COOP 2of5) | 生協用 |
| NW-7 (Codabar) | 宅配便・図書館 |
| 郵便カスタマバーコード | 日本郵便用 |
| GS1データバー | 生鮮食品・医療用 |
2次元バーコード
| バーコード種類 | 備考 |
|---|---|
| QRコード | Version 0(AUTO)対応 |
| DataMatrix (GS1 DataMatrix) | 医療・電子部品用 |
| PDF417 | 運転免許証等 |
GS1データバー(RSS)詳細
- Omni-directional(標準型)
- Stacked(二層型)
- Stacked Omni-directional(標準二層型)
- Limited(限定型)
- Expanded(拡張型)
- Stacked Expanded(拡張多層型)
使用例
GDI+版(Windows Forms)
using Pao.BarCode;
// 2ステップでバーコード生成
Code128 barcode = new Code128(e.Graphics);
barcode.Draw("123456789ABCD", 10, 10, 300, 80);
WPF版
using Pao.BarCode.Wpf;
DrawingVisual drawingVisual = new DrawingVisual();
// 2ステップでバーコード生成
Code128 barcode = new Code128(drawingVisual);
barcode.Draw("123456789ABCD", 10, 10, 300, 80);
ImageSharp版(Linux / Blazor)
using Pao.BarCode.ImageSharp;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using Image<Rgba32> image = new Image<Rgba32>(800, 600);
// 2ステップでバーコード生成
Code128<Rgba32> barcode = new Code128<Rgba32>(image);
barcode.Draw("123456789ABCD", 50, 20, 400, 120);
SkiaSharp版
using Pao.BarCode.Skia;
using SkiaSharp;
SKImageInfo info = new SKImageInfo(800, 600);
using SKSurface surface = SKSurface.Create(info);
SKCanvas canvas = surface.Canvas;
// 2ステップでバーコード生成
Code128 barcode = new Code128(canvas);
barcode.Draw("123456789ABCD", 50, 20, 400, 120);
MAUI版
using Pao.BarCode.Maui;
// IDrawable.Draw メソッド内で canvas を受け取る
// 2ステップでバーコード生成
QRCode barcode = new QRCode(canvas);
barcode.Draw("https://www.pao.ac/", 50, 20, 400, 400);
SVG出力
var barcode = new QRCode();
string svg = barcode.WriteSVGToString("https://www.pao.ac/", 0, 0, 400, 400);
Base64出力(Web API向け)
var barcode = new Code128(); // 引数なしコンストラクタ
barcode.Draw("123456789ABCD", 0, 0, 300, 80);
string base64 = barcode.ImageBase64; // Base64文字列
MemoryStream ms = barcode.ImageStream; // MemoryStream
プラットフォーム別推奨グラフィックス
| プラットフォーム | 推奨グラフィックス |
|---|---|
| Windows Forms | GDI+(最も安定・高精度) |
| WPF | WPF版 または GDI+版 |
| ASP.NET Core MVC / Blazor Server | ImageSharp または SkiaSharp |
| Blazor WebAssembly | ImageSharp のみ |
| .NET MAUI | MAUI Graphics または SkiaSharp |
| Linux環境(Docker / クラウド) | ImageSharp または SkiaSharp |
対応環境
開発環境
- Windows: Visual Studio 2005 ~ 2026
- macOS: .NET SDK + VS Code(MAUI開発)
動作環境
- Windows: XP / Vista / 7 / 8 / 8.1 / 10 / 11
- Windows Server: 2008 / 2012 / 2016 / 2019 / 2022 / 2025
- Linux: Ubuntu / Debian / CentOS / Amazon Linux 等
- macOS: 11.0 (Big Sur) 以降
- iOS / iPadOS: 14.0 以降
- Android: 5.0 以降
対応言語
- C#
- VB.NET
- その他.NET対応言語
ライセンス
本製品は商用ライセンスです。詳細は製品サイトをご確認ください。
- 1開発ライセンス: 22,000円(税込) - ランタイム無償
- ソースコード付き: 101,200円(税込)
⚠️ ライセンス未登録(評価版)の場合
- 📍 出力制限: バーコードに「SAMPLE」が表示されます
- ⏰ 期間制限: 6ヶ月間の使用期限があります
- 💼 製品版: 制限なしの製品版は公式サイトで販売中
リンク
サポート
製品のサポートは以下で提供しています:
- 📧 Email: info@pao.ac
- 🌐 Web: 製品サイト
最新バージョン
ver 5.0.0 (リリース日: 2026/01)
主な新機能・改善点
- クロスプラットフォーム対応: WPF / ImageSharp / SkiaSharp / MAUI Graphics 対応
- SVG出力対応: ベクター形式での出力が可能
- Base64出力・メモリストリーム出力対応: Web API向け
- Draw()メソッドの精度向上: スケーリング不要の高精度描画
- BackColor / ForeColor 指定対応: カスタマイズ性向上
- QRコード Version=0(AUTO)追加: 最適バージョン自動選択
- .NET 8 / 9 / 10 対応: 最新.NETをサポート
- GitHub / NuGet 公開: パッケージ管理が容易に
© 2026 Pao@Office. All rights reserved.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0-windows7.0 is compatible. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0-windows was computed. net7.0-windows7.0 is compatible. net8.0-windows was computed. net8.0-windows7.0 is compatible. net9.0-windows was computed. net9.0-windows7.0 is compatible. net10.0-windows was computed. net10.0-windows7.0 is compatible. |
| .NET Framework | net20 is compatible. net30 is compatible. net35 is compatible. net40 is compatible. net403 was computed. net45 is compatible. net451 is compatible. net452 is compatible. net46 is compatible. net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 is compatible. |
This package has no dependencies.
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 |
|---|---|---|
| 10.0.0.3 | 95 | 1/23/2026 |
| 9.0.0.3 | 100 | 1/23/2026 |
| 8.0.0.3 | 85 | 1/23/2026 |
| 7.0.0.3 | 82 | 1/23/2026 |
| 6.0.0.3 | 88 | 1/23/2026 |
| 5.0.0.3 | 84 | 1/23/2026 |
| 4.8.1.3 | 87 | 1/23/2026 |
| 4.8.0.3 | 89 | 1/23/2026 |
| 4.7.2.3 | 85 | 1/23/2026 |
| 4.7.1.3 | 84 | 1/23/2026 |
| 4.7.0.3 | 82 | 1/23/2026 |
| 4.6.2.3 | 85 | 1/23/2026 |
| 4.6.1.3 | 86 | 1/23/2026 |
| 4.6.0.3 | 87 | 1/23/2026 |
| 4.5.2.3 | 90 | 1/23/2026 |
| 4.5.1.3 | 86 | 1/23/2026 |
| 4.5.0.3 | 83 | 1/23/2026 |
| 4.0.0.3 | 98 | 1/23/2026 |
| 3.5.0.3 | 82 | 1/23/2026 |
| 3.0.0.3 | 81 | 1/23/2026 |
ver 5.0.0 - Barcode.net 史上最大のアップデート (2026/01)
・クロスプラットフォーム対応(GDI+/WPF/ImageSharp/SkiaSharp/MAUI)
・SVG出力対応(ベクター形式)
・Base64出力・メモリストリーム出力対応
・Draw()メソッドの精度向上
・BackColor/ForeColor指定対応
・QRコード Version=0(AUTO)追加
・.NET 8/9/10 対応
・GitHub/NuGet公開
⚠️ 評価モード:バーコードに「SAMPLE」表示、6ヶ月間の使用期限