跳至页脚内容
与其他组件比较

A Comparison between IronBarcode and BarcodeLib

条形码是一种可以编码有关其所附项目信息的标签类型。 它以黑色条纹和空格的模式开始,通常相当宽,代表数字。 条形码简化了通常费时费力的数据收集和分析过程。 机器可以快速轻松地扫描它们,从而减少错误并降低成本。 它们的一些应用包括库存管理、质量控制和供应链管理。 在这些情况下,它们已被证明是区分产品等级或在长距离跟踪产品直到最终目的地的有效工具。

有两个与条形码一起使用的编码系统。 这些被称为统一代码委员会 (UPC) 和国际标准化组织 (ISO)。 UPC 代码的设计是为了在零售店提供商品或产品的表示。 UPC 是一个由 6、10 或 13 位数字分解的 12 位代码。 还有 2 位用于错误校正的尾随校验位。 扫描时,前五位代表制造该产品的公司及其产品系列中的产品。最后一个数字标识被其机器可读条形码扫描的特定产品或物品。 ISO 代码最初由跨国贸易公司开发,主要作为文章编号的表示,而不是文章本身。

在本文中,我们将比较两个流行的条形码库:

  • BarcodeLib
  • IronBarcode

这两个库都可以用于条形码的生成和识别。 它们提供对所有 .NET 框架的支持,并允许您保存条形码图像。

class="hsg-featured-snippet">

如何在 C# 中使用 Barcodelib

  1. 安装 BarcodeLib C# 库
  2. 自定义条形码结构和样式
  3. 生成各种类型的新条形码
  4. 使用 BarcodeReader C# 类读取条形码
  5. 将条形码导出为图像

BarcodeLib 概览

Barcodelib for .NET 是一个.NET条形码生成器组件套件,旨在用于ASP.NET、.NET类、控制台应用程序、Windows表单应用程序、Microsoft Reporting Service、Crystal Reports for .NET和客户端RDlC报告中的条形码生成。

  • 易于使用 — 使用 ASP.NET Web 表单和 .NET Windows 表单条形码生成控件 DLL 进行拖放操作
  • 易于重新分发 — 所有条形码和功能都内置于单独的 DLL 程序集中。 无需激活密钥,不需要注册码
  • 完全托管的 C# 代码 — 所有 .NET 条形码生成组件都使用 Visual C#.NET 托管代码编译。
  • 与 ASP.NET 条形码应用程序兼容 — 您可以轻松地将条形码图像嵌入到 aspx 或 html 页面中的  related to BarcodeLib 概览 标签中。
  • 符合最新的条形码标准 — 所有一维条码和二维条码生成参数都符合相应的条码规格。
  • 备受推崇的 .NET 条形码组件 — 自 2003 年发布以来,已被超过 1000 个客户使用并赞赏。
  • 免版税开发者许可证 — 您可以将 .NET 套件组件重新分发到无限数量的计算机和服务器。
  • 支持条形码校验和 — 您可以控制某些线性条形码中的校验位,进行添加或移除。
  • 自定义条形码文本 — 您可以在线性条形码的条码条上方或下方显示或隐藏可读文本。
  • 调整图像分辨率和大小 — 您可以通过图像分辨率、图像宽度和图像高度来控制条形码图像大小。
  • 条形码模块大小设置 — 您可以通过设置条形码模块大小自由设置生成的条形码图像大小。
  • 条形码图像方向 — 您可以将条形码图像显示为 0、90、180 和 270 度。
  • 条形码编码和保存 — 您可以将条形码编码为 GIF、JPEG、PNG 和 Bitmap 图像格式,或者可以将条形码输出到 Graphics、Bitmap、HttpResponse 和 Stream .NET 对象。

IronBarcode

IronBarcode for .NET允许程序员从.NET应用程序和网站中读取和写入条形码和二维码。 IronBarcode只需一行代码即可读取或写入条形码。 .NET条形码库可以读取和写入大多数条形码和二维码标准。 Code 39/93/128, UPC A/E, EAN 8/13, ITF, RSS 14 / Expanded, Databar, Codabar, Aztec, Data Matrix, MaxiCode, PDF417, MSI, Plessey, USPS 和 QR 是其中一些最常见的类型。类型、文本、二进制数据、页面和图片文件都包含在条形码结果数据中。 条形码 API 的功能如下:

  • IronBarcode 读取和写入大多数条形码类型和 QR 标准,包括 UPC A/E, EAN 8/13, Code 39/93/128, ITF, MSI, RSS 14/Expanded, Databar, Codabar, QR, Styled QR, Data Matrix, MaxiCode, PDF417, Plessey 和 Aztec。 条形码数据、类型、页面、文本和结果提供的条形码图片非常适合存档或索引系统。
  • 图像预处理提高读取速度和准确性 - IronBarcode自动预处理条形码图片以提高读取速度和准确性。 它可以读取扫描或实时视频帧,矫正旋转、噪声、失真和倾斜。 批量处理服务器应用程序可以利用多个内核和线程,并自动在单页和多页文档中找到一个或多个条形码。 无需使用复杂的 API,您可以搜索某些条形码类型或文档位置。
  • 设计用于.NET项目 - 只需几行代码即可快速启动并运行。 为.NET框架构建为一个无依赖项的单一DLL; 支持 32 位和 64 位,可用于任何 .NET 和 dot net core 语言。 支持网络、云端、桌面和控制台应用程序中的移动和桌面设备。 它还用于在 .NET 应用程序中创建旋转条形码和常用使用场景,并提供对所有这些和其他常用使用场景的 .NET 支持。
  • 为各种文档格式创建条形码和二维码 - 保存并打印到各种文件和流格式,包括PDF、JPG、TIFF、GIF、BMP、PNG和HTML。 颜色、质量、旋转、大小和文本都可以更改。

2.0 创建一个新项目

打开 Visual Studio,然后转到文件菜单。 选择新项目,然后选择控制台应用程序/Windows 表单应用程序/WPF 应用程序。 IronBarcode 可用于所有类型的应用程序。 此外,您还可以使用 Webform/MVC/MVC Core 等应用。

class="content-img-align-center">
class="center-image-wrapper"> Leadtools Barcode Alternative 1 related to 2.0 创建一个新项目

输入项目名称,并在相应的文本框中选择文件路径。 然后,单击创建按钮并选择所需的 .NET 框架。 现在项目将生成所选应用程序的结构,如果您选择了控制台应用程序,它将打开 program.cs 文件,您可以在其中输入代码并构建/运行应用程序。

class="content-img-align-center">
class="center-image-wrapper"> Leadtools Barcode Alternative 2 related to 2.0 创建一个新项目

3.0 安装 IronBarcode 库

3.1 使用IronBarcode

可以通过以下四种方式下载并安装 IronBarcode库:

这些是:

  • 使用Visual Studio
  • 使用Visual Studio命令行。
  • 从NuGet网站直接下载。
  • 从 IronBarcode 网站直接下载。

3.1.1 使用 Visual Studio

Visual Studio软件提供NuGet包管理器选项直接将包安装到解决方案。 下面的截图显示了如何打开NuGet包管理器。

class="content-img-align-center">
class="center-image-wrapper"> Spire Barcode Generator Alternative 1 related to 3.1.1 使用 Visual Studio

它提供了搜索框以显示来自 NuGet 网站的包列表。在包管理器中,我们需要搜索关键字“Barcode”,如下图所示:

class="content-img-align-center">
class="center-image-wrapper"> Spire Barcode Generator Alternative 2 related to 3.1.1 使用 Visual Studio

从上述图像中,我们将获得相关搜索结果的列表。 我们需要选择所需的选项将包安装到解决方案中。

3.1.2 使用 Visual Studio 命令行

在Visual Studio中,转至工具 -> NuGet包管理器 -> 包管理器控制台

在控制台选项卡中输入以下行:

Install-Package BarCode

现在包将下载/安装到当前项目,并可以使用了。

class="content-img-align-center">
class="center-image-wrapper"> Spire Barcode Generator Alternative 3 related to 3.1.2 使用 Visual Studio 命令行

3.1.3 从 NuGet 网站直接下载

第三种方法是直接从网站下载程序包。

  • Navigate to the Link.
  • 从右侧菜单中选择下载包选项。
  • 双击下载的包以自动安装。
  • 现在重新加载解决方案并开始在项目中使用它。

3.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:

  • 从解决方案窗口右键点击项目。
  • 选择“引用”选项并浏览下载引用的位置。
  • 点击确定以添加引用。

首先我们需要做的是安装 IronBarcode 库,将条形码功能添加到 .NET 框架中。 We can do this using our NuGet package or by downloading the .NET Barcode DLL.

Install-Package BarCode

3.2 使用 BarcodeLib

BarcodeLib 库可以通过四种不同的方式下载和安装。

这些是:

  • 使用Visual Studio
  • 使用Visual Studio命令行。
  • 从NuGet网站直接下载。
  • 从 IronBarcode 网站直接下载。

3.2.1 使用 Visual Studio

该方法与上面用于 IronBarcode 的方法相似。 我们唯一需要改变的就是搜索标准,如下图所示。

class="content-img-align-center">
class="center-image-wrapper"> Barcodelib Alternative 1 related to 3.2.1 使用 Visual Studio

选择第一个选项,这将下载 BarcodeLib 条形码库。

3.2.2 使用 Visual Studio 命令行

在Visual Studio中,转至工具 -> NuGet包管理器 -> 包管理器控制台

在包管理器控制台选项卡中输入以下行:

Install-Package BarcodeLib

现在,软件包将下载/安装到当前项目中,即可使用。

3.2.3 从 Barcodelib 网站直接下载

第三种方法是直接从网站下载程序包。

  • Just click here to be redirected to the NuGet website where you can download the package.

4.0 条形码生成

使用 IronBarcode 和 BarcodeLib 可以轻松生成条形码。 让我们通过一个例子来看看这一点。

4.1 使用IronBarcode

IronBarcode 可用于创建条形码标签,然后保存为不同类型的图像格式。 此外,我们可以传递我们需要生成的条形码类型。 以下代码段用于条形码生成。

// Generate a barcode with IronBarcode and save it as an image
var MyBarCode = BarcodeWriter.CreateBarcode("123456", BarcodeEncoding.Code128);

// Add annotations below the barcode
MyBarCode.AddAnnotationTextBelowBarcode("123456");

// Save the barcode image in a specified format
MyBarCode.SaveAsImage("MyBarCode.jpeg");
// Generate a barcode with IronBarcode and save it as an image
var MyBarCode = BarcodeWriter.CreateBarcode("123456", BarcodeEncoding.Code128);

// Add annotations below the barcode
MyBarCode.AddAnnotationTextBelowBarcode("123456");

// Save the barcode image in a specified format
MyBarCode.SaveAsImage("MyBarCode.jpeg");
' Generate a barcode with IronBarcode and save it as an image
Dim MyBarCode = BarcodeWriter.CreateBarcode("123456", BarcodeEncoding.Code128)

' Add annotations below the barcode
MyBarCode.AddAnnotationTextBelowBarcode("123456")

' Save the barcode image in a specified format
MyBarCode.SaveAsImage("MyBarCode.jpeg")
$vbLabelText   $csharpLabel

BarcodeWriter.CreateBarcode 是 IronBarcode 命名空间中的静态类方法。 它初始化一个新的条形码对象,指定内容和编码类型。 我们可以进一步指定高度和宽度选项。 AddAnnotationTextBelowBarcode 方法允许在条码下添加文本。

上面的代码段还演示了将条码保存为 JPEG 格式。 IronBarcode 提供替代选项,如将条码输出为 HTML 和其他图像格式以增加灵活性。

// Create a QR code with a logo
var QRWithLogo = QRCodeWriter.CreateQrCodeWithLogo("Hello World", "logo.png", 500);

// Change the barcode color
QRWithLogo.ChangeBarCodeColor(System.Drawing.Color.DarkGreen);

// Save the QR code with the logo as a JPEG
QRWithLogo.SaveAsJpeg("Logoqr.jpeg");
// Create a QR code with a logo
var QRWithLogo = QRCodeWriter.CreateQrCodeWithLogo("Hello World", "logo.png", 500);

// Change the barcode color
QRWithLogo.ChangeBarCodeColor(System.Drawing.Color.DarkGreen);

// Save the QR code with the logo as a JPEG
QRWithLogo.SaveAsJpeg("Logoqr.jpeg");
' Create a QR code with a logo
Dim QRWithLogo = QRCodeWriter.CreateQrCodeWithLogo("Hello World", "logo.png", 500)

' Change the barcode color
QRWithLogo.ChangeBarCodeColor(System.Drawing.Color.DarkGreen)

' Save the QR code with the logo as a JPEG
QRWithLogo.SaveAsJpeg("Logoqr.jpeg")
$vbLabelText   $csharpLabel

代码段演示了生成一个嵌入徽标的 QR 码,并使用 CreateQrCodeWithLogoChangeBarCodeColor 等方法自定义外观。

4.2 使用 BarcodeLib

BarcodeLib 为不同的条形码类型提供功能。以下代码段演示了其用法:

// Create a barcode using BarcodeLib
BarcodeLib.Barcode.Linear barcode = new BarcodeLib.Barcode.Linear();

// Set barcode parameters
barcode.Type = BarcodeType.CODE39;
barcode.Data = "CODE39";
barcode.UOM = UnitOfMeasure.PIXEL;
barcode.BarWidth = 1;
barcode.BarHeight = 80;
barcode.LeftMargin = 5;
barcode.RightMargin = 5;
barcode.TopMargin = 5;
barcode.BottomMargin = 5;
barcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Png;

// Save barcode image
barcode.drawBarcode("C://barcode.png");

// Additional ways to output the barcode
byte[] barcodeInBytes = barcode.drawBarcodeAsBytes();
Graphics graphics = ...;
barcode.drawBarcode(graphics);
Bitmap barcodeInBitmap = barcode.drawBarcode();
HttpResponse response = ...;
barcode.drawBarcode(response);
Stream stream = ...;
barcode.drawBarcode(stream);
// Create a barcode using BarcodeLib
BarcodeLib.Barcode.Linear barcode = new BarcodeLib.Barcode.Linear();

// Set barcode parameters
barcode.Type = BarcodeType.CODE39;
barcode.Data = "CODE39";
barcode.UOM = UnitOfMeasure.PIXEL;
barcode.BarWidth = 1;
barcode.BarHeight = 80;
barcode.LeftMargin = 5;
barcode.RightMargin = 5;
barcode.TopMargin = 5;
barcode.BottomMargin = 5;
barcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Png;

// Save barcode image
barcode.drawBarcode("C://barcode.png");

// Additional ways to output the barcode
byte[] barcodeInBytes = barcode.drawBarcodeAsBytes();
Graphics graphics = ...;
barcode.drawBarcode(graphics);
Bitmap barcodeInBitmap = barcode.drawBarcode();
HttpResponse response = ...;
barcode.drawBarcode(response);
Stream stream = ...;
barcode.drawBarcode(stream);
' Create a barcode using BarcodeLib
Dim barcode As New BarcodeLib.Barcode.Linear()

' Set barcode parameters
barcode.Type = BarcodeType.CODE39
barcode.Data = "CODE39"
barcode.UOM = UnitOfMeasure.PIXEL
barcode.BarWidth = 1
barcode.BarHeight = 80
barcode.LeftMargin = 5
barcode.RightMargin = 5
barcode.TopMargin = 5
barcode.BottomMargin = 5
barcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Png

' Save barcode image
barcode.drawBarcode("C://barcode.png")

' Additional ways to output the barcode
Dim barcodeInBytes() As Byte = barcode.drawBarcodeAsBytes()
Dim graphics As Graphics = ...
barcode.drawBarcode(graphics)
Dim barcodeInBitmap As Bitmap = barcode.drawBarcode()
Dim response As HttpResponse = ...
barcode.drawBarcode(response)
Dim stream As Stream = ...
barcode.drawBarcode(stream)
$vbLabelText   $csharpLabel

BarcodeLib 创建并配置具有各种属性(如类型、尺寸和图像格式)的 Linear 条码对象。 条形码可以导出为多种格式,除了图像文件,还可以是流和 HTTP 响应。

5.0 识别条形码

IronBarcode 和 BarcodeLib 允许我们识别来自不同图像格式和类型的条形码。这是如何做到的。

5.1 使用 IronBarcode

IronBarcode 从字符串、流或图像格式中读取条形码。 以下是如何使用图像文件的方法:

// Read a barcode from an image using IronBarcode
BarcodeResult QRResult = BarcodeReader.QuicklyReadOneBarcode("MyBarCode.jpg");

if (QRResult != null)
{
    // Output barcode value and type
    Console.WriteLine(QRResult.Value);
    Console.WriteLine(QRResult.BarcodeType);
}
// Read a barcode from an image using IronBarcode
BarcodeResult QRResult = BarcodeReader.QuicklyReadOneBarcode("MyBarCode.jpg");

if (QRResult != null)
{
    // Output barcode value and type
    Console.WriteLine(QRResult.Value);
    Console.WriteLine(QRResult.BarcodeType);
}
' Read a barcode from an image using IronBarcode
Dim QRResult As BarcodeResult = BarcodeReader.QuicklyReadOneBarcode("MyBarCode.jpg")

If QRResult IsNot Nothing Then
	' Output barcode value and type
	Console.WriteLine(QRResult.Value)
	Console.WriteLine(QRResult.BarcodeType)
End If
$vbLabelText   $csharpLabel

QuicklyReadOneBarcode 是提取条形码数据的方法,返回一个BarcodeResult 对象,该对象提供了值和类型以及其他属性(文本、二进制值)。

5.2 使用 BarcodeLib

在 BarcodeLib 中识别条形码可以使用文件、流或位图:

// Configure settings for optimized recognition
OptimizeSetting setting = new OptimizeSetting();  
setting.setMaxOneBarcodePerPage(true);
ScanArea top20 = new ScanArea(new PointF(0.0F, 0.0F), new PointF(100.0F, 20.0F));
ScanArea bottom20 = new ScanArea(new PointF(0.0F, 80.0F), new PointF(100.0F, 100.0F));    
List<ScanArea> areas = new List<ScanArea>();
areas.Add(top20);
areas.Add(bottom20);    
setting.setAreas(areas);

// Read barcode from a file using BarcodeLib
string[] results = BarcodeReader.read("c:/code39-barcode.gif", BarcodeReader.CODE39, setting);
// Configure settings for optimized recognition
OptimizeSetting setting = new OptimizeSetting();  
setting.setMaxOneBarcodePerPage(true);
ScanArea top20 = new ScanArea(new PointF(0.0F, 0.0F), new PointF(100.0F, 20.0F));
ScanArea bottom20 = new ScanArea(new PointF(0.0F, 80.0F), new PointF(100.0F, 100.0F));    
List<ScanArea> areas = new List<ScanArea>();
areas.Add(top20);
areas.Add(bottom20);    
setting.setAreas(areas);

// Read barcode from a file using BarcodeLib
string[] results = BarcodeReader.read("c:/code39-barcode.gif", BarcodeReader.CODE39, setting);
' Configure settings for optimized recognition
Dim setting As New OptimizeSetting()
setting.setMaxOneBarcodePerPage(True)
Dim top20 As New ScanArea(New PointF(0.0F, 0.0F), New PointF(100.0F, 20.0F))
Dim bottom20 As New ScanArea(New PointF(0.0F, 80.0F), New PointF(100.0F, 100.0F))
Dim areas As New List(Of ScanArea)()
areas.Add(top20)
areas.Add(bottom20)
setting.setAreas(areas)

' Read barcode from a file using BarcodeLib
Dim results() As String = BarcodeReader.read("c:/code39-barcode.gif", BarcodeReader.CODE39, setting)
$vbLabelText   $csharpLabel

BarcodeReader 使用文件路径读取条码,将图像转换为可读格式。 它在 BarcodeReader.read 中支持多种类型和输出选项,允许同时处理多种条形码格式。

6.0 IronBarcode 和 BarcodeLib 许可证模式和价格

IronBarcode 许可证模式和价格

  • 30 天退款保证:购买许可证后,您将在 30 天内获得退款保证,如果许可证无效。
  • 轻松集成:IronBarcode 与您的项目和环境的集成非常简单,我们可以通过在 NuGet 包中添加的单行代码实现,或者从网络下载并以这种方式与我们的环境集成。
  • 永久性许可:每个许可证购买一次,无需续订。
  • 免费支持和产品更新:每个许可证都附带一年免费产品更新和产品开发团队的支持。 可以随时购买扩展。 扩展可以查看。
  • 即时许可证:注册的许可证密钥将在付款后立即发送。

所有许可证都是永久性的,适用于开发、临时和生产环境。

Lite 许可证

  • 1 位开发者
  • 1 个地点
  • 1 个项目
  • 永久性许可证

此许可证允许组织中的一位软件开发者在一个地方使用 Iron Software。 Iron Software 可以在单个网络应用程序、内联网应用程序或桌面软件程序中使用。 许可证不可转让,不能在组织外部或代理/客户关系中共享。此许可证类型与所有其他许可证类型一样,明确排除在协议中未明确授予的所有权利,未经 OEM 重新分发并使用 Iron Software 作为 SaaS(如果未购买额外覆盖范围)。

价格:从每年 报价 起。

专业许可证:

  • 10 位开发者
  • 10 个地点
  • 10 个项目
  • 永久性许可证

这允许组织中的规定数量的软件开发者在单个地点使用 Iron Software,最多十个。 Iron Software 可以用于尽可能多的网站、内联网应用程序或桌面软件应用程序中。许可证不可转让,不能在组织外部或代理/客户关系中共享。此许可证类型与所有其他许可证类型一样,明确排除在协议中未明确授予的所有权利,包括未经购买额外覆盖范围而进行的 OEM 重新分发和使用 Iron Software 作为 SaaS。 此许可证可以与单个项目中的最多十个项目集成。

价格:从每年 $2,999 起。

Unlimited许可

  • 无限开发者
  • 无限地点
  • 无限项目
  • 永久性许可证

这允许组织中的无限数量的软件开发者在无限地点使用 Iron Software。 Iron Software 可以用于尽可能多的网站、内联网应用程序或桌面软件应用程序中。许可证不可转让,不能在组织外部或代理/客户关系中共享。此许可证类型与所有其他许可证类型一样,明确排除在协议中未明确授予的所有权利,包括未经购买额外覆盖范围而进行的 OEM 重新分发和使用 Iron Software 作为 SaaS。

价格:从每年 报价 起。

免版税重分发:这允许您将 Iron Software 作为已打包的商业产品的一部分进行分发(无需支付版税),基于基本许可证所涵盖的项目数量。 它允许在基础许可证所涵盖的项目数量基础上,Iron Software在SaaS软件服务中部署。

价格:从每年 $3,395 起。

BarcodeLib 许可证模式与价格

  • 一旦您的付款获得批准,您将立即通过电子邮件收到产品。
  • 所有许可证都包含六个月的免费高级支持和一年的免费更新。
  • 如果您有任何需求或问题,请发送电子邮件至支持。

单开发者许可证:单开发者许可证允许一位开发者免版税分发无限用户许可证并在无限服务安装软件,可以放置在多个位置。

价格:从 $1,099 起(一次性购买,可选年度维护)。

5 位开发者许可证:这允许五位开发者免版税分发无限用户许可证并在无限服务安装软件,可以放置在多个位置。

价格:从 $1,899 起(一次性购买,可选年度维护)。

无限开发者许可证:这允许无限位开发者免版税分发、无限用户许可证并在无限服务安装软件,可以放置在多个位置。

价格:从 $2,799 起(一次性购买,可选年度维护)。

7.0 结论

IronBarcode 是帮助生成和识别条形码的最强大库之一。 它也是条形码生成和识别速度最快的库之一。 该库支持多种操作系统。 它支持多种条形码格式,创建也很简单。 我们可以将图像格式更改为 JPEG 和其他格式,并更改颜色、线高、宽度和条形码文本。

BarcodeLib.Barcode 也是一个强大的库,可以帮助我们生成和识别不同图像格式的条码。 我们可以使用各种图像格式来读取和创建条形码。 BarcodeLib 还提供更改条形码外观的选项,例如高度、宽度、条形码文本等。

IronBarcode 套件提供比 BarcodeLib 更好的许可证和支持。 BarcodeLib 的费用也较高,起价为 $1,099(一次性购买),而 IronBarcode 显然更便宜,起售价为 $liteLicense。 不仅 IronBarcode 更具成本效益,还提供比 BarcodeLib 更多的功能。 此外,IronBarcode 比 BarcodeLib 更快速。 IronBarcode 还具有多种属性,使我们不仅能够从不同图像格式中读取条码,还可以从 PDF 文档中读取条形码。 它还允许我们在条码或 QR 码中添加图像,此功能在其他任何库中都不可用。

那么,您在等什么? 免费试用对所有人开放。 You can obtain the License here and begin straightaway.

[{i:(BarcodeLib 是其各自所有者的注册商标。 本网站与 BarcodeLib 无关、未被认可或资助。 所有产品名称、徽标和品牌均为其各自所有者的财产。 比较仅供参考,反映的是撰写时的公开信息。]

常见问题解答

如何在 .NET 应用程序中生成条码?

您可以使用 IronBarcode 在 .NET 应用程序中生成条码,它提供了一种简单的方法,只需一行代码即可创建条码。支持多种格式,例如 Code 39、Code 128、QR 和 Data Matrix。

在库存管理中使用条码有什么好处?

在库存管理中,条码简化了数据收集、减少了错误并提高了效率。像 IronBarcode 这样的库可以轻松生成和读取条码,有助于有效的库存跟踪和管理。

IronBarcode 支持哪些条码格式?

IronBarcode 支持多种条码格式,包括 Code 39、Code 93、Code 128、QR 和 Data Matrix,允许在各种应用中灵活生成条码。

可以在 .NET 应用程序中为 QR 码添加图像吗?

可以,IronBarcode 允许您为 QR 码添加图像,增强代码在 .NET 应用程序中的视觉效果和功能。

如何在 .NET 中从 PDF 文档读取条码?

通过使用 IronBarcode,您可以直接从 PDF 文档以及各种图像格式中读取条码,简化 .NET 应用程序中的条码识别过程。

IronBarcode 提供哪些许可选项?

IronBarcode 提供多种许可选项,包括个人开发者使用的 Lite License,小团队使用的 Professional License,以及大团队使用的 Unlimited License,均享有 30 天退款保证。

为什么 IronBarcode 被认为是 BarcodeLib 的经济有效替代方案?

IronBarcode 由于其更低的价格和广泛的功能集被认为是 BarcodeLib 的经济有效替代方案,包括更好的图像处理能力、多种条码格式的支持以及易于集成。

使用 IronBarcode 处理条码有哪些优势?

IronBarcode 提供优势如出色的图像预处理以提高阅读速度和准确性,多种文件类型的支持,及使用最少代码生成和读取条码的能力。

在 .NET 中生成条码时可以自定义吗?

可以,使用 IronBarcode 时,条码可以自定义,例如校验和支持和可自定义的文本显示,允许在 .NET 应用程序中提供定制条码解决方案。

IronBarcode 如何提高条码阅读精度?

IronBarcode 通过先进的图像预处理技术提高条码阅读精度,自动校正条码图像的旋转、噪声、失真和倾斜。

Jordi Bardia
软件工程师
Jordi 最擅长 Python、C# 和 C++,当他不在 Iron Software 利用这些技能时,他就在游戏编程。分享产品测试、产品开发和研究的责任,Jordi 在持续的产品改进中增加了巨大的价值。多样的经验使他面临挑战并保持投入,他表示这是在 Iron Software 工作的最喜欢的方面之一。Jordi 在佛罗里达州迈阿密长大,并在佛罗里达大学学习计算机科学和统计学。