與其他組件的比較 IronBarcode和Spire Barcode之間的比較 Jordi Bardia 更新:7月 28, 2025 下載 IronBarcode NuGet 下載 DLL 下載 開始免費試用 法學碩士副本 法學碩士副本 將頁面複製為 Markdown 格式,用於 LLMs 在 ChatGPT 中打開 請向 ChatGPT 諮詢此頁面 在雙子座打開 請向 Gemini 詢問此頁面 在雙子座打開 請向 Gemini 詢問此頁面 打開困惑 向 Perplexity 詢問有關此頁面的信息 分享 在 Facebook 上分享 分享到 X(Twitter) 在 LinkedIn 上分享 複製連結 電子郵件文章 條碼是一種機器可讀代碼,它以按特定模式排列的線條和空格的形式儲存有關各種物品的資訊。 條碼由一系列平行的條形組成,用於對資料進行編碼。 這些條形構成所謂的"條碼"或"條碼符號",條碼掃描器(有時簡稱"掃描器")可以讀取它。 所有條碼都包含四個部分: 起始角色 容差:寬度和高度允許的變更次數,通常以百分比表示。 資料字元:用於表示編碼資訊的字元。 停止字符 條碼是零售環境中識別產品最有效的方式。 每個產品都有一個獨特的條碼,可以輕鬆掃描以進行庫存控製或價格核實。 如今,條碼不僅被用作零售環境中識別產品的有效方式; 它們已成為我們日常生活的重要組成部分,因為它們被用於以電子方式儲存資訊和管理消費者身份。 本文將對兩個常用的條碼庫進行比較: Spire 條碼 IronBarcode 這兩個函式庫都可用於產生和識別條碼,支援所有 .NET 框架,並允許您儲存條碼影像。 IronBarcode。 我們將透過一個範例來了解如何在 C# .NET 中使用 IronBarcode 庫產生條碼。 我們將看看使用 IronBarcode 建立條碼、設定樣式以及匯出條碼是多麼容易。 安裝 開啟 Visual Studio,然後前往檔案選單。 選擇新項目,然後選擇控制台應用程式/Windows 窗體/WPF 應用程式。 IronBarcode 可用於所有類型的應用程序,包括 Webform/MVC/MVC Core。 在適當的文字方塊中輸入專案名稱並選擇檔案路徑。 按一下"建立"按鈕,然後選擇所需的 .NET Framework。 現在將根據所選應用程式的結構產生項目,如果您選擇了控制台應用程序,它將打開Program.cs文件,您可以在其中輸入代碼並建立/運行應用程式。 安裝 IronBarcode 庫 1. 使用 IronBarcode IronBarcode庫可以透過四種方式下載和安裝: 使用 Visual Studio 使用 Visual Studio 命令列 直接從 NuGet 網站下載 可直接從 IronBarcode 網站下載 1.1 使用 Visual Studio Visual Studio 軟體提供了一個 NuGet 套件管理器選項,可以直接將套件安裝到解決方案中。 下面的截圖顯示了如何打開 NuGet Package Manager。 它提供了一個搜尋框,用於顯示 NuGet 網站上的套件清單。在套件管理器中,我們需要搜尋關鍵字"Barcode",如下面的螢幕截圖所示: 從上圖中,我們可以得到相關的搜尋結果清單。 我們需要選擇所需的選項,將套件安裝至解決方案。 1.2 使用 Visual Studio 命令列 在 Visual Studio 工具中,前往"工具"->"NuGet 套件管理器"->"套件管理器控制台"。 在控制台標籤中輸入以下命令: Install-Package BarCode 現在,套件將下載/安裝至目前的專案,並可立即使用。 1.3 從 NuGet 網站直接下載 第三種方法是直接從網站下載軟體包。 Navigate to the Link. 從右側選單中選擇下載軟體包選項。 雙擊下載的套件。 它會自動安裝。 現在重新載入解決方案,並在專案中開始使用它。 1.4 從 IronBarcode 網站直接下載 Click the link to download the latest package from the website. After the download, follow the steps below to add the package to the project. 在解決方案視窗中右鍵點選項目。 選擇"新增"->"參考文獻"選項,然後瀏覽至下載的參考文獻所在位置。 按一下"確定"以新增引用。 安裝 Iron Barcode 程式庫後,您可以透過 NuGet 套件或下載 .NET Barcode DLL 將條碼功能新增至 .NET 框架。 Install-Package BarCode 新增用於瀏覽文件的後端程式碼 在下面的範例中,我們將看到如何使用 IronBarcode 編寫幾行程式碼來建立包含數字或文字內容的條碼。 // Generate a Simple BarCode image and save as PNG using IronBarCode using IronBarCode; GeneratedBarcode MyBarCode = IronBarCode.BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode", BarcodeWriterEncoding.Code128); MyBarCode.SaveAsPng("MyBarCode.png"); // This line opens the image in your default image viewer System.Diagnostics.Process.Start("MyBarCode.png"); // Generate a Simple BarCode image and save as PNG using IronBarCode using IronBarCode; GeneratedBarcode MyBarCode = IronBarCode.BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode", BarcodeWriterEncoding.Code128); MyBarCode.SaveAsPng("MyBarCode.png"); // This line opens the image in your default image viewer System.Diagnostics.Process.Start("MyBarCode.png"); ' Generate a Simple BarCode image and save as PNG using IronBarCode Imports IronBarCode Private MyBarCode As GeneratedBarcode = IronBarCode.BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode", BarcodeWriterEncoding.Code128) MyBarCode.SaveAsPng("MyBarCode.png") ' This line opens the image in your default image viewer System.Diagnostics.Process.Start("MyBarCode.png") $vbLabelText $csharpLabel 第一步,我們透過指定條碼的值來建立條碼,我們將使用的條碼格式來自IronBarCode.BarcodeWriterEncoding枚舉。 然後我們可以將其儲存為映像、 System.Drawing.Image或Bitmap物件。 只需要這些程式碼! 最後一行程式碼會在預設影像檢視器中開啟條碼 PNG 文件,以便您可以親眼查看。 使用 IronBarcode 的高階條碼技術 雖然前面的例子很有效,但在現實世界中,我們可能會希望做得更多。 在下面的範例中,我們在條碼中添加註釋,設定字體,在其下方顯示其值,添加邊距,更改條碼顏色,然後保存它,所有這些都用 C# 非常簡單地完成。 如果匯出為 HTML 或 PDF 格式更適合我們的應用程式場景,我們也可以選擇匯出為 HTML 或 PDF 格式而不是圖片格式。 using IronBarCode; using System.Drawing; // Styling a QR code and adding annotation text var MyBarCode = IronBarCode.BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode", BarcodeWriterEncoding.QRCode); MyBarCode.AddAnnotationTextAboveBarcode("Product URL:"); MyBarCode.AddBarcodeValueTextBelowBarcode(); MyBarCode.SetMargins(100); MyBarCode.ChangeBarCodeColor(Color.Purple); // Save as HTML MyBarCode.SaveAsHtmlFile("MyBarCode.html"); using IronBarCode; using System.Drawing; // Styling a QR code and adding annotation text var MyBarCode = IronBarCode.BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode", BarcodeWriterEncoding.QRCode); MyBarCode.AddAnnotationTextAboveBarcode("Product URL:"); MyBarCode.AddBarcodeValueTextBelowBarcode(); MyBarCode.SetMargins(100); MyBarCode.ChangeBarCodeColor(Color.Purple); // Save as HTML MyBarCode.SaveAsHtmlFile("MyBarCode.html"); Imports IronBarCode Imports System.Drawing ' Styling a QR code and adding annotation text Private MyBarCode = IronBarCode.BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode", BarcodeWriterEncoding.QRCode) MyBarCode.AddAnnotationTextAboveBarcode("Product URL:") MyBarCode.AddBarcodeValueTextBelowBarcode() MyBarCode.SetMargins(100) MyBarCode.ChangeBarCodeColor(Color.Purple) ' Save as HTML MyBarCode.SaveAsHtmlFile("MyBarCode.html") $vbLabelText $csharpLabel The code should be self-explanatory, but if not, we encourage you to read the GeneratedBarcode class documentation within the API Reference. 讀取條碼 Reading a barcode or QR code in .NET is incredibly easy using the IronBarcode class library with .NET Barcode Reader. 在第一個例子中,我們可以看到如何用一行程式碼讀取這個條碼。 使用 C# 掃描條碼影像 我們可以提取它的值、圖像、編碼類型、二進位資料(如果有),然後將其輸出到控制台。 using IronBarCode; using System; BarcodeResult Result = BarcodeReader.QuicklyReadOneBarcode("GetStarted.png"); if (Result != null && Result.Text == "https://ironsoftware.com/csharp/barcode/") { Console.WriteLine("GetStarted was a success. Read Value: " + Result.Text); } using IronBarCode; using System; BarcodeResult Result = BarcodeReader.QuicklyReadOneBarcode("GetStarted.png"); if (Result != null && Result.Text == "https://ironsoftware.com/csharp/barcode/") { Console.WriteLine("GetStarted was a success. Read Value: " + Result.Text); } Imports IronBarCode Imports System Private Result As BarcodeResult = BarcodeReader.QuicklyReadOneBarcode("GetStarted.png") If Result IsNot Nothing AndAlso Result.Text = "https://ironsoftware.com/csharp/barcode/" Then Console.WriteLine("GetStarted was a success. Read Value: " & Result.Text) End If $vbLabelText $csharpLabel 我們可以將TryHarder變數加入到QuicklyReadOneBarcode方法中。 這使得它更加努力,實際上會花費更多時間,但會更深入地掃描可能被遮蔽、損壞或傾斜的二維碼。 BarcodeResult Result = BarcodeReader.QuicklyReadOneBarcode("TryHarderQR.png", BarcodeEncoding.QRCode | BarcodeEncoding.Code128, true); BarcodeResult Result = BarcodeReader.QuicklyReadOneBarcode("TryHarderQR.png", BarcodeEncoding.QRCode | BarcodeEncoding.Code128, true); Dim Result As BarcodeResult = BarcodeReader.QuicklyReadOneBarcode("TryHarderQR.png", BarcodeEncoding.QRCode Or BarcodeEncoding.Code128, True) $vbLabelText $csharpLabel 現在可以讀取這個傾斜的二維碼了: 使用 C# 掃描旋轉 45 度的二維碼 你會發現我們可以指定要找的條碼編碼,或指定多種格式。 這樣做可以大大提高條碼讀取效能和準確性。 管道字元(|) 或"位元或"用於同時指定多種格式。 透過使用視覺方法或BarcodeReader.ReadASingleBarcode方法組件模式,也可以達到相同的效果,但精確度更高。 從不完美影像中讀取條碼 在實際應用中,我們可能需要讀取條碼,而不是完美的螢幕截圖。 它們可能是不完美的圖像、掃描件或照片,並且包含數位雜訊或存在偏差。 對於大多數傳統的開源 .NET 條碼產生器和讀取器庫來說,這是不可能的。 However, this Barcode Reader in C# makes it incredibly straightforward. 我們將研究QuicklyReadOneBarcode的TryHarder方法。 這個單一參數使得 Iron Barcode 能夠嘗試對不完美的數位樣本進行去傾斜處理並讀取條碼。 我們將設定特定的條碼旋轉校正和條碼影像校正,以校正手機相機可能出現的數位雜訊、傾斜、透視和旋轉。 用 C# 讀取手機相機拍攝的條碼 using IronBarCode; using System; using System.Drawing; var PhotoResult = BarcodeReader.ReadASingleBarcode("Photo.png", BarcodeEncoding.Code128, BarcodeReader.BarcodeRotationCorrection.Medium, BarcodeReader.BarcodeImageCorrection.DeepCleanPixels); string Value = PhotoResult.Value; Bitmap Img = PhotoResult.BarcodeImage; BarcodeEncoding BarcodeType = PhotoResult.BarcodeType; byte[] Binary = PhotoResult.BinaryValue; Console.WriteLine(PhotoResult.Value); using IronBarCode; using System; using System.Drawing; var PhotoResult = BarcodeReader.ReadASingleBarcode("Photo.png", BarcodeEncoding.Code128, BarcodeReader.BarcodeRotationCorrection.Medium, BarcodeReader.BarcodeImageCorrection.DeepCleanPixels); string Value = PhotoResult.Value; Bitmap Img = PhotoResult.BarcodeImage; BarcodeEncoding BarcodeType = PhotoResult.BarcodeType; byte[] Binary = PhotoResult.BinaryValue; Console.WriteLine(PhotoResult.Value); Imports IronBarCode Imports System Imports System.Drawing Private PhotoResult = BarcodeReader.ReadASingleBarcode("Photo.png", BarcodeEncoding.Code128, BarcodeReader.BarcodeRotationCorrection.Medium, BarcodeReader.BarcodeImageCorrection.DeepCleanPixels) Private Value As String = PhotoResult.Value Private Img As Bitmap = PhotoResult.BarcodeImage Private BarcodeType As BarcodeEncoding = PhotoResult.BarcodeType Private Binary() As Byte = PhotoResult.BinaryValue Console.WriteLine(PhotoResult.Value) $vbLabelText $csharpLabel 流利度 在最後一個範例中,我們將看到,我們可以使用一行程式碼建立、設定樣式和匯出條碼。 IronBarcode 實作了一個類似 System.Linq 的可選流暢 API。 透過鍊式呼叫方法,我們首先建立條碼,然後設定其邊距,最後將其匯出為點陣圖,所有步驟都在一行程式碼中完成。這非常方便,也使程式碼更易於閱讀。 Spire 條碼 Free Spire.Barcode for .NET 是一款免費且專業的條碼 API,專為 .NET 開發人員(C#、VB.NET、ASP.NET)設計,用於產生和讀取一維和二維條碼。 開發人員和程式設計師可以使用 Spire.BarCode 快速輕鬆地將企業級條碼格式新增至他們的 .NET 應用程式、ASP.NET WinForms 和 Web 服務。 免費提供的 Spire.Barcode for .NET 提供了一個非常簡單的條碼處理整合方式。 Spire.BarCode 支援各種常見的影像格式,例如 Bitmap、JPG、PNG、EMF、TIFF、GIF 和 WMF。 它還支援二維碼。 安裝 我們首先需要做的是安裝 Spire 函式庫,以便為 .NET 框架新增條碼功能。 我們可以使用 NuGet 套件來實現這一點。 就像我們之前對 IronBarcode 所做的那樣,流程也是一樣的——按照相同的步驟操作,只需輸入"Spire Barcode",然後將軟體包添加到專案中即可。 條碼開發人員的寫作 該庫提供了創建條碼圖像的方法。 這是一個重載方法。 這裡列出了將在程式碼中用於測試庫性能的方法的定義。 using Spire.Barcode; using System.Drawing; namespace QRCode { class Program { static void Main(string[] args) { BarcodeSettings settings = new BarcodeSettings { Type = BarCodeType.QRCode, Data = "Hello world", Data2D = "Hello 123456789", QRCodeDataMode = QRCodeDataMode.AlphaNumber, X = 1.0f, QRCodeECL = QRCodeECL.H }; BarCodeGenerator generator = new BarCodeGenerator(settings); Image image = generator.GenerateImage(); image.Save("QRCode.png"); } } } using Spire.Barcode; using System.Drawing; namespace QRCode { class Program { static void Main(string[] args) { BarcodeSettings settings = new BarcodeSettings { Type = BarCodeType.QRCode, Data = "Hello world", Data2D = "Hello 123456789", QRCodeDataMode = QRCodeDataMode.AlphaNumber, X = 1.0f, QRCodeECL = QRCodeECL.H }; BarCodeGenerator generator = new BarCodeGenerator(settings); Image image = generator.GenerateImage(); image.Save("QRCode.png"); } } } Imports Spire.Barcode Imports System.Drawing Namespace QRCode Friend Class Program Shared Sub Main(ByVal args() As String) Dim settings As New BarcodeSettings With { .Type = BarCodeType.QRCode, .Data = "Hello world", .Data2D = "Hello 123456789", .QRCodeDataMode = QRCodeDataMode.AlphaNumber, .X = 1.0F, .QRCodeECL = QRCodeECL.H } Dim generator As New BarCodeGenerator(settings) Dim image As Image = generator.GenerateImage() image.Save("QRCode.png") End Sub End Class End Namespace $vbLabelText $csharpLabel 產生的二維碼圖像如下所示。 用 C# 建立二維碼 // Generate the barcode based on the barcode control settings BarCodeGenerator generator = new BarCodeGenerator(this.barCodeControl1); Image barcode = generator.GenerateImage(); // Save the barcode as an image barcode.Save("barcode.png"); // Generate the barcode based on the barcode control settings BarCodeGenerator generator = new BarCodeGenerator(this.barCodeControl1); Image barcode = generator.GenerateImage(); // Save the barcode as an image barcode.Save("barcode.png"); ' Generate the barcode based on the barcode control settings Dim generator As New BarCodeGenerator(Me.barCodeControl1) Dim barcode As Image = generator.GenerateImage() ' Save the barcode as an image barcode.Save("barcode.png") $vbLabelText $csharpLabel 此方法中涉及兩個重要的類別BarCodeControl和BarCodeGenerator 。 BarCodeControl儲存有關條碼的資訊。 BarCodeGenerator類別用於產生條碼影像。 它的建構子接受一個參數BarCodeControl實例。 它有一個名為GenerateImage()的方法,其傳回值是用來產生影像的Image物件。 讀取條碼影像 條碼掃描器類別用於掃描條碼影像。 呼叫其Scan方法,並將包含條碼影像的Bitmap物件傳遞給它; 它傳回一個string[]值,其中儲存了掃描結果。 本程式碼中使用了BarcodeScanner類別來掃描條碼影像。 它可以儲存和新增 VB.NET 和 C# 中的企業級條碼。 以下是程式碼: private void btnScan_Click(object sender, EventArgs e) { // Scan the barcode string[] datas = Spire.Barcode.BarcodeScanner.Scan("barcode.png"); // Show the scan result this.TextB_ScanResult.Text = datas[0]; } private void btnScan_Click(object sender, EventArgs e) { // Scan the barcode string[] datas = Spire.Barcode.BarcodeScanner.Scan("barcode.png"); // Show the scan result this.TextB_ScanResult.Text = datas[0]; } Private Sub btnScan_Click(ByVal sender As Object, ByVal e As EventArgs) ' Scan the barcode Dim datas() As String = Spire.Barcode.BarcodeScanner.Scan("barcode.png") ' Show the scan result Me.TextB_ScanResult.Text = datas(0) End Sub $vbLabelText $csharpLabel IronBarcode。 和 Spire.Barcode 的授權模式和定價 IronBarcode。 授權模式和價格 30 天退款保證:購買後,如果許可證無法使用,您可以在 30 天內獲得退款。 Easy integration: The integration of IronPDF with your project and environment is straightforward and can be achieved with a single line of code when using the NuGet Package. 也可以透過直接下載進行整合。 永久授權:每個許可證只需購買一次,無需續訂。 免費支援和產品更新:每個許可證都包含一年的免費產品更新和產品團隊的支持,並且可以隨時購買擴充功能。 立即發放許可證:收到付款後,註冊許可證密鑰將立即發送。 所有許可均為永久性許可,適用於開發、測試和製作。 精簡版套餐: 1 位開發人員 1 個地點 1 個項目 永久許可 該軟體包允許單一軟體開發人員在單一位置使用 Iron Software。 它可用於單一 Web 應用程式、內網應用程式或桌面軟體程式。 許可證不可轉讓,且不得在組織或代理/客戶關係之外共享。除非購買額外許可,否則分發權不包括 OEM 再分發和 SaaS。 定價:每年 $liteLicense 起。 專業執照: 10 位開發人員 10 個地點 10 個項目 永久許可 該軟體包允許最多十名軟體開發人員在同一地點使用 Iron Software,最多可支援十人。 它可以根據需要用於任意數量的網站、內網應用程式或桌面軟體應用程式。 許可證不可轉讓,且不得在組織或代理/客戶關係之外共享。除非購買額外許可,否則分發權不包括 OEM 再分發和 SaaS。 定價:每年 $999 起。 無限制許可: 無限開發者 地點不限 項目數量不限 永久許可 這使得組織內無限數量的軟體開發人員可以在無限數量的地點使用 Iron Software。 它可以根據需要用於任意數量的網站、內網應用程式或桌面軟體應用程式。 許可證不可轉讓,且不得在組織或代理/客戶關係之外共享。除非購買額外許可,否則分發權不包括 OEM 再分發和 SaaS。 定價:每年從 $2,999 起。 免版稅再分發:允許將 Iron Software 作為各種商業產品的一部分進行分發(無需支付版稅),分發數量取決於基本許可涵蓋的項目數量。 它還允許在 SaaS 軟體服務中進行部署,具體取決於基礎許可證涵蓋的項目。 定價:每年 $1,599 起。 不間斷的產品支援和更新:提供產品更新、安全功能升級和工程團隊支援。 定價:每年 $399 起。 用 C# 建立二維碼 Spire條碼授權模式與價格: 支援服務是付費的,訂閱是一次性付款。 只有 OEM 訂閱才能用於面向公眾的網站和基於雲端的應用程式。 開發者訂閱: 一位開發者 一個部署地點 此軟體包授權一名開發人員使用該產品創建無限數量的應用程序,這些應用程式可以部署在組織內的一個地理位置(僅限內部使用)。 它不允許向第三方分發,也不允許在面向公眾的網站上或 SaaS/PaaS/IaaS 專案中部署自訂應用程式。 定價:每年 $898 起。 開發者OEM訂閱: 一位開發者 無限部署地點 此軟體包授權一名開發者使用該產品創建無限數量的自訂應用程序,並且允許以任何形式將這些應用程式分發到任意數量的地理位置。 定價:每年 3395 美元起。 網站企業訂閱: 最多 10 位開發者 最多可部署 10 個地點 這授權最多 10 位開發者創建無限數量的應用程序,這些應用程式可以部署在最多 10 個地理位置。 它不允許將自訂應用程式分發到面向公眾的網站或 SaaS/PaaS/IaaS 專案。 定價:每年 5301 美元起。 網站 OEM 訂閱: 最多 50 位開發人員 無限部署地點 這授權最多 50 位開發者使用該產品創建無限數量的自訂應用程序,並且允許以任何形式將這些應用程式分發到任何數量的地理位置。 定價:每年起價 10187 美元。 IronBarcode Lite套餐包含一個開發者軟體包,提供一年的支持,價格約為 $liteLicense;而 Spire Developer OEM 訂閱包含一個開發者軟體包,價格為 $3,395,提供一年的所有更新、主要版本和技術支援; 如果沒有版本發布和技術支持,則需要 $1,695。 IronBarcode專業版套餐包含 10 個開發者軟體包和一年的支援服務,價格為 $999; Spire Site OEM 訂閱包含 10 個開發者軟體包,價格為 $10,187,包含一年的所有開發者軟體包,價格為 $10,187,包含一年的所有版本$6,558。 IronBarcode Lite和Professional套餐均提供 SaaS 服務或 OEM 服務,以及五年支援選項。 Lite版本包含一個開發者軟體包,提供五年支持,並提供 SaaS 和 OEM 服務,價格為 2,897 美元;而 Spire 提供 SaaS 服務或 OEM 服務,以及一年支援選項。 IronBarcode專業版包含 10 個開發人員套餐,提供五年支援以及 SaaS 和 OEM 服務,售價為 3,397 美元;而 Spire 套餐包含 10 個開發人員,提供一年支援以及 SaaS 和 OEM 服務,售價為 $10,187。 結論 IronBarcode 用於產生企業級條碼影像格式。 它使開發人員能夠旋轉條碼圖像,以及創建條碼圖像邊框,以幫助進一步格式化條碼圖像。 與其他條碼產生器相比,IronBarcode 提供可靠的條碼產生功能,並產生高品質的條碼影像。 我們可以使用 IronBarcode 來獲得所需的輸出圖像格式,並且產生的條碼圖像品質很高,因為我們可以用一行程式碼建立、設定樣式和匯出條碼。 條碼開發人員會發現它很容易與其他 .NET 應用程式集成,並且允許識別不同類型的條碼。 該庫的元件模型非常有效率——對於每種元件模式,開發人員都可以產生不同樣式和格式的條碼。 IronBarcode 的程式碼很簡單,只有一行,而且識別功能非常出色。 API模式使其比其他生成器更可靠。 Spire.Barcode for .NET 提供了一種直接整合條碼處理的方法。 只需一行程式碼,開發人員即可建立和讀取一維和二維條碼。 Spire.Barcode 支援各種常見的影像格式,例如 Bitmap、JPG、PNG、EMF、TIFF、GIF 和 WMF。 因此,開發人員可以輕鬆創建條碼圖像,並且只需編寫最少的程式碼即可整合條碼生成和創建功能。 與 Spire.Barcode 相比,IronBarcode 的套餐提供更優質的許可和支持,價格也更高。 IronBarcode 的起價為 $liteLicense,而 Spire.Barcode 的起價為 $898,因此 IronBarcode 更具性價比。此外,IronBarcode 還提供比 Spire.Barcode 更豐富的功能、更完善的支援以及退款保證。 IronBarcode 提供長期支持,並可與 API 模式的 .NET 應用程式無縫整合。 它支援與新文件(C#、VB.NET)輕鬆集成,並可產生多種條碼格式。 那麼,還等什麼呢? 立即取得免費試用! You can obtain the License here and begin straightaway. 請注意Spire 條碼是其各自所有者的註冊商標。 本網站與 Spire Barcode 無任何關聯,亦未獲得其認可或贊助。 所有產品名稱、標誌和品牌均為其各自擁有者的財產。 比較資料僅供參考,並反映撰寫時的公開資訊。 常見問題解答 如何在 C# 中生成 BarCode? 您可以使用 IronBarcode 在 C# 中生成條碼。它允許您使用簡單的 C# 程式碼來建立、樣式化和匯出條碼。IronBarcode 支援多種格式,可輕鬆整合至 .NET 應用程式中。 .NET 中的 BarCode 程式庫有哪些安裝選項? 對於 IronBarcode,您可以透過 Visual Studio 的 NuGet 套件管理員、Visual Studio Command-Line 或直接從 NuGet 或 IronBarcode 網站下載安裝。Spire.BarCode 也同樣可以透過 NuGet 安裝。 IronBarcode 支持哪些条码格式? IronBarcode 支援多種條碼格式,包括 1D 和 2D 條碼。這允許在各種應用程式中靈活地生成和識別條碼。 IronBarcode 可以從損壞的影像中讀取條碼嗎? 是的,IronBarcode 可以從不完美的影像中讀取條碼。它包括旋轉校正和數位雜訊清除等功能,即使從損壞或低品質的影像中也能增強條碼辨識。 是什麼讓 IronBarcode 成為開發人員的高性價比選擇? IronBarcode 提供永久授權,並有退款保證,與 Spire.Barcode 等其他條碼函式庫相比,起價較低。它也提供強大的支援,使其成為開發人員的經濟有效解決方案。 IronBarcode 和 Spire.Barcode 在支持方面相比如何? 相較於 Spire.Barcode,IronBarcode 被認為能提供更好的支援與授權選項。它的授權包含一年的免費產品更新和支援,確保開發人員能使用最新的功能。 在 .NET 中使用 IronBarcode 生成条码有哪些好处? IronBarcode 提供可靠的條碼生成功能,具有高品質的圖像,可輕鬆與 .NET 應用程式整合,並支援多種條碼格式。它還提供了一些功能,如設定樣式和將條碼匯出為各種格式,如 HTML 或 PDF。 Jordi Bardia 立即與工程團隊聊天 軟體工程師 Jordi 在 Python、C# 和 C++ 上最得心應手,當他不在 Iron Software 展現技術時,便在做遊戲編程。在分担产品测测试,产品开发和研究的责任时,Jordi 为持续的产品改进增值。他说这种多样化的经验使他受到挑战并保持参与, 而这也是他与 Iron Software 中工作一大乐趣。Jordi 在佛罗里达州迈阿密长大,曾在佛罗里达大学学习计算机科学和统计学。 相關文章 更新9月 25, 2025 如何在C#中選擇最佳條碼庫 在本指南中,我們將比較五個最廣泛使用的 .NET 條碼庫 — IronBarcode, http://ZXing.Net , Aspose.BarCode, BarcodeLib, 和 Dynamsoft Barcode Reader 閱讀更多 更新7月 28, 2025 如何在ZXing中為C#開發人員掃描條碼 ZXing的模塊包括核心圖像解碼庫、JavaSE特定的客戶端代碼以及Android客戶端條碼掃描器。許多其他獨立的開源項目以此為基礎構建。 閱讀更多 更新8月 31, 2025 ZXing.org QR碼庫和IronBarcode:全面的比較 ZXing是一個流行的開源庫,用於生成和解碼一維和二維條碼。 閱讀更多 IronBarcode和Aspose.Barcode之間的比較IronBarcode和Leadtools條碼之間...
更新9月 25, 2025 如何在C#中選擇最佳條碼庫 在本指南中,我們將比較五個最廣泛使用的 .NET 條碼庫 — IronBarcode, http://ZXing.Net , Aspose.BarCode, BarcodeLib, 和 Dynamsoft Barcode Reader 閱讀更多
更新7月 28, 2025 如何在ZXing中為C#開發人員掃描條碼 ZXing的模塊包括核心圖像解碼庫、JavaSE特定的客戶端代碼以及Android客戶端條碼掃描器。許多其他獨立的開源項目以此為基礎構建。 閱讀更多