IRONSOFTWAREHOME

C# 條碼程式庫

超越基本條碼生成。將進階的條碼讀取建立功能應用於 .NET 10,並結合 ML 驅動的預處理與批量處理。

  • 讀取30 種以上格式,包括所有主要的 1D/2D 型別
  • 建立條碼,並控制樣式、大小和註釋
  • 批量處理,使用非同步和多執行緒
  • 免費 30 天試用,全部功能,無需信用卡
條碼快速入門
查看所有 程式碼範例
using IronBarCode;
using System.Drawing;

// Reading a barcode is easy with IronBarcode!
var resultFromFile = BarcodeReader.Read(@"file/barcode.png"); // From a file
var resultFromBitMap = BarcodeReader.Read(new Bitmap("barcode.bmp")); // From a bitmap
var resultFromImage = BarcodeReader.Read(Image.FromFile("barcode.jpg")); // From an image file
var resultFromPdf = BarcodeReader.ReadPdf(@"file/mydocument.pdf"); // From PDF use ReadPdf

// To configure and fine-tune barcode reading, utilize the BarcodeReaderOptions class
var myOptionsExample = new BarcodeReaderOptions
{
    // Choose a reading speed from: Faster, Balanced, Detailed, ExtremeDetail
    // There is a tradeoff in performance as more detail is set
    Speed = ReadingSpeed.Balanced,

    // Reader will stop scanning once a single barcode is found (if set to true)
    ExpectMultipleBarcodes = true,

    // By default, all barcode formats are scanned for
    // Specifying a subset of barcode types to search for would improve performance
    ExpectBarcodeTypes = BarcodeEncoding.AllOneDimensional,

    // Utilize multiple threads to read barcodes from multiple images in parallel
    Multithreaded = true,

    // Maximum threads for parallelized barcode reading
    // Default is 4
    MaxParallelThreads = 2,

    // The area of each image frame in which to scan for barcodes
    // Specifying a crop area will significantly improve performance and avoid noisy parts of the image
    CropArea = new Rectangle(),

    // Special setting for Code39 barcodes
    // If a Code39 barcode is detected, try to read with both the base and extended ASCII character sets
    UseCode39ExtendedMode = true
};

// Read with the options applied
var results = BarcodeReader.Read("barcode.png", myOptionsExample);

// Create a barcode with one line of code
var myBarcode = BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8);

// After creating a barcode, we may choose to resize
myBarcode.ResizeTo(400, 100);

// Save our newly-created barcode as an image
myBarcode.SaveAsImage("EAN8.jpeg");

// Get the barcode as an image for further processing
var myBarcodeImage = myBarcode.Image;
NuGet Downloads Badge
PM >Install-Package BarCode

跨平台支援

設計為運行於.NET 10, 9, 8, 7, 6, 5, Core, Standard或FrameworkC#、F#和VB.NET
如需移動QR支援,請嘗試我們的IronQR程式庫

NET標誌
Visual Studio標誌
NuGet標誌
ReSharper
Windows標誌
Linux標誌
Mac標誌
iOS標誌
安卓標誌
Docker標誌
Azure標誌
AWS標誌

.NET 版本:

  • C#、VB.NET、F# 語言
  • .NET Core (10、9、8、7、6、5 和 3.1+)
  • .NET標準 (2.0+)
  • .NET Framework (4.6.2+)

作業系統和處理器:

  • Windows (x64, x86)
  • Mac (x64,ARM)
  • Linux (x64)

.NET 專案型別:

  • 網頁 (Blazor & WebForms)
  • 行動裝置 (MAUI)
  • 桌面 (WPF & MAUI)
  • 控制台 (應用程式和程式庫)

應用環境:

  • Windows (10+, Server 2016+)
  • Linux (Ubuntu, Debian, CentOS, etc.)
  • Mac (macOS 10+)
  • Apple iOS (13+)
  • Android API 24+ (v7 “Nougat”)
  • Docker (Windows, Linux, Azure)
  • Azure (VPS, WebApp, Function)
  • AWS (EC2, Lambda)

IDE:

  • Microsoft Visual Studio
  • Jetbrains ReSharper 和 Rider

二進位認證

  • Microsoft Authenticode

一個優先考慮準確性、易用性和速度的 C# 條碼程式庫。

IronBarcode 是 .NET 中用於讀取和建立條碼的領先 C# 條碼程式庫。其使用者友好的 API 可讓開發者在幾分鐘內向 .NET 專案新增條碼功能。

立即獲取您的30天試用金鑰

當您需要快速讀寫和設計條碼時。

跨平台相容性

支援平台

讀取

為什麼選擇 IronBarcode?

讀取和寫入任何條碼。快速運送。在 Windows、Linux、macOS 和雲中運行。

點擊查看關於為什麼選擇 IronBarcode 的影片

廣泛格式支援

  • 50+ 條碼型別:Code 39/93/128、UPC、EAN、QR、Data Matrix、PDF417、Aztec 和更多。
  • 在一個單獨的程式庫中讀寫條碼,無需分開的工具。
  • 一鍵導出為圖像、PDF 或 HTML。

5 分鐘內運行

  • PM > Install-Package BarCode

    → 5 分鐘快速開始。
  • 簡單的 API:BarcodeReader.Read(), BarcodeWriter.CreateBarcode().
  • 智能預設值:內建自動圖像校正和條碼檢測。

企業性能

  • .NET 10、Core、Standard 或 Framework
  • 多執行緒和批量掃描:每分鐘處理 1,000+ 條碼。
  • 部署在任何地方:雲、內部部署、氣隙和無伺服器。

準確閱讀,任何條件

  • 基於 ML 的預處理:自動校正傾斜、噪音、方向和低 DPI。
  • 在生產中受損或印刷不良條碼的成功率超過 98%。
  • 裁剪區域和置信度分數,以獲得精確、可審核的結果。

以開發者為先的支援與授權

  • 永久授權: 購買一次,永遠使用。可選的更新和續訂。
  • 24/5 工程師支援(高級支援 24/7)。真人,聊天平均響應不到 1 分鐘。
  • 30 天退款保證。不合適?全額退費,無需解釋。

為建設者準備

  • 您會實際使用到的功能:
    • 讀寫條碼
    • QR碼生成
    • batch scanning
    • 影像校正濾鏡
    • 裁剪區域(ROI)
    • confidence scores
    • barcode styling
    • PDF/HTML 導出
    • 嵌入標志(QR)
    • custom encoding
  • 任何地方都可以工作:Windows、Linux、macOS、Docker、Azure、AWS、雲。

給買家的

  • 得到的信任200 多萬工程師超過 2M+ NuGet 安裝。
  • 團隊報告- 節省開發時間 40%相較於 DIY/OSS 包裝。
  • 再分發/SaaS選項可用。
  • 採購友好:永久授權,可選續訂,有發票,多種支付選項(包括本地)。
  • 30 天退款保證。

每當開發者提出需求時,我們總會給出肯定的答覆 IronBARCODE

IronBarcode 能否在單一 .NET 組件中讀取與寫入主要條碼格式(QR、Aztec、Data Matrix、PDF417、UPC、EAN、Code128)?是的!

能否從單一圖片或 PDF 頁面中一次讀取多種不同型別的條碼 ?是的!

它是否能直接從 PDF 檔案讀取條碼,而無需透過外部的頁面轉圖像轉換?是的!

生成的 QR 碼能否加入標誌、自訂顏色,並調整邊框樣式?可以!

是否會套用影像修正濾鏡(去噪、對比度調整、校正傾斜)以提升辨識率?是!

它是否會返回包含數值、二進位資料、方向及邊界框等詳細結果資料?是的!

是否可以直接將條碼產生至 Stream 或 byte[],而無需儲存至磁碟?是的!

它是否在 Windows、Linux、macOS、Docker 和 Azure 上的 .NET Core、Standard 及 .NET Framework 環境中完全跨平台?是的!

它是否支援多執行緒與非同步處理,以實現高效能的批次處理?是的!

條碼能否輸出為 HTML 資料 URI 或疊印至現有 PDF 檔案上?可以!

它是否支援即使部分受損仍可掃描的容錯條碼?是的!

我現在可以免費在實際專案中測試 IronBarcode 嗎?是的! 點擊此處開始您的 30 天試用

世界級工程,
24小時支援

準備好開始了嗎?

Nuget Downloads 2,422,100版本:2026.9剛剛發布

立即獲取您的30天試用金鑰
無需信用卡或帳戶建立
Key in blue circle

立即免費取得 30 天試用金鑰

Your trial license will be sent to your email address

無任何限制。100% 解鎖。無需信用卡。

bullet_checked無需信用卡或建立帳號無任何限制。100% 解鎖。無需信用卡。
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
獲取您的無義務諮詢
填寫以下表格或發送電子郵件至sales@ironsoftware.com
您的詳細資訊將始終保密。
被全球數百萬工程師信任
Iron Software的客戶標誌
立即獲取您的30天試用金鑰
無需信用卡或帳戶建立