Aspose.BarCode - 在任何平台上生成和识别条形码
使用我们的本机编程API开发高性能应用程序来创建和识别1D,2D和邮政条形码。
Aspose.BarCode for .NET - 用于生成和识别一维和二维条形码的.NET API
在任何.NET应用程序中从多个图像创建,读取和识别线性,2D以及邮政类型的条形码。
Aspose.BarCode is a robust and reliable barcode generation and recognition component, written in managed C#, it allows developers to quickly and easily add barcode generation and recognition functionality to their Microsoft applications (WinForms, ASP.NET and .NET Compact Framework). With Aspose.BarCode, developers have full control over every aspect of the barcode image including: background color, bar color, image quality, rotation angle, x-dimension, captions, customer defined resolution and more. Aspose.BarCode can read and recognize most common 1D and 2D barcodes from any image and at any angle.
Aspose.BarCode系列产品
Aspose.BarCode for .NET目标Windows窗体,ASP.NET,WPF,WCF或基于.NET Framework 2.0或更高版本的任何类型的应用程序
Aspose.BarCode for Java用于基于Java SE或EE的桌面,Web或任何类型的应用程序的Native Java API
Aspose.BarCode for C++从C ++应用程序中生成或识别1D和2D条形码类型。
Aspose.BarCode for SharePoint将条形码添加到SharePoint Foundation和SharePoint Server 2010中的列表
Aspose.BarCode for Jasper Reports在JasperReports或JasperServer中的报告中添加条形码图像
Aspose.BarCode for .NET介绍
Aspose.BarCode for .NET是一个功能强大的API,可以从任意角度生成和识别多种图像类型的一维和二维条形码。开发人员可以轻松添加条形码生成和识别功能,以及在.NET应用程序中将生成的条形码导出为高质量的图像格式。
Aspose.BarCode for .NET API支持操作生成的条形码的外观,例如背景颜色,条形颜色,图像质量,旋转角度,x维度,大小,分辨率等等。此外,API支持多种类型的识别和成像功能以及不同类型的符号。
总体特性
Aspose.BarCode for .NET的条形码识别和生成功能概述。

支持的文件格式
Aspose.BarCode for .NET适用于最常用的图像格式。

平台独立
你可以使用Aspose.BarCode for .NET构建任何类型的32位或64位.NET应用程序,包括ASP.NET,WinForms,WPF,.NET Standard等。

Barcode API功能
打印条形码标签
在2D条形码中对非英文字符进行编码和解码
从多页TIFF中读取
支持线性,2D和邮政符号
插值AutoSize模式支持渲染器
将生成的条形码图像保存为流或文件
控制条形码大小
使用识别功能来帮助你的实际工作
嵌入文档来帮助溯源
从流或图像文件中识别条形码
将条形码图像旋转到任何角度
增加识别度来推广第三方服务
通过添加条形码功能来增强应用程序工作流
支持的条形码符号
Aspose.BarCode for .NET支持大量用于编码和解码功能的线性,二维和邮政条码符号。
API支持的线性条形码类型包括:
EAN13
EAN8
UPCA
UPCE
Interleaved2of5
Standard2of5
MSI
Code11
Codabar
EAN14(SCC14)
SSCC18
ITF14
Matrix 2 of 5
PZN
Code128
Code39 Extended
Code39 Standard
Code93 Extended
Code16K
Code93 Standard
IATA 2 of 5
OPC
GS1Code128
ISBN
ISMN
ISSN
二维条码类型包括:
QR
MicroQR
DotCode
MaxiCode
Italian Post 25
GS1DataMatrix
Code16K
邮政条码类型包括:
Postnet
Planet
USPS OneCode
Australia Post
Deutsche Post Identcode
Deutsche Post Leticode
RM4SCC
SingaporePost
AustralianPosteParcel
SwissPostParcel
UpcaGs1DatabarCoupon
成像,旋转和尺寸支持
Aspose.BarCode for .NET允许操作条形码标签边框,边框颜色,样式,边距和宽度。它还提供修改图像颜色,背景颜色和条形颜色的功能。你还可以将条形码图像旋转到任何角度,并生成具有抗锯齿功能的高质量图像。除此之外,你还可以为导出图像设置自定义分辨率,同时将其保存为任何支持的图像格式。
设置条码图像分辨率和旋转 - C#
// set code text & encoding type
using (BarCodeGenerator generator = new BarCodeGenerator(Aspose.BarCode.Generation.EncodeTypes.QR, "1234567"))
{
// set image resolution
generator.Resolution = 300;
// set image rotation
generator.RotationAngle = 45;
generator.Save("rotated_dpi300.jpg");
}
自定义符号和外观
.NET barcode API允许你通过指定不同类型的符号系统,设置代码文本(要编码为条形码图像的数据)和与外观相关的属性(如字体,背景颜色,前景色,以及对齐和位置)轻松自定义条形码。你还可以轻松管理标题设置,如字体,背景颜色,前景色,对齐和位置(隐藏,上方,下方)。
自定义条形码标签的外观 - C#
// set code text & encoding type
using (BarCodeGenerator generator = new BarCodeGenerator(Aspose.BarCode.Generation.EncodeTypes.Code128, "1234567"))
{
// format code text
generator.CodeTextStyle.Color = System.Drawing.Color.Red;
generator.CodeTextStyle.Location = CodeLocation.Above;
generator.CodeTextStyle.Font.FamilyName = "Arial";
generator.Save("BarCode.jpg");
}
An overview of the barcode recognition and generation capabilities of Aspose.BarCode.
Common Uses
-
Print barcode labels Online Demo
-
Generate barcode images and save to stream or image file Online Demo
-
Recognize barcodes from stream or image fileOnline Demo
-
Enhance your application workflow by adding barcode functionality
-
Embed barcodes in documents to aid tracability Online Demo
-
Use the recognition functions to drive your real-life work processes
-
Add barcode recognition to promote 3rd party services
Supported File Formats
Key Features
Supported BarCodeSymbologies
Aspose.BarCode includes support for a large number of linear, 2D and postal barcode symbologies.
The linear barcode symbologies supported by Aspose.BarCode include:
-
EAN13 (Encode, decode)
-
EAN8 (Encode, decode)
-
UPCA (Encode, decode)
-
UPCE (Encode, decode)
-
BooklandEAN (Encode, decode)
-
Interleaved2of5 (Encode, decode)
-
Standard2of5 (Encode, decode)
-
MSI (Encode, decode)
-
Code11 (Encode, decode)
-
Codabar (Encode, decode)
-
EAN14(SCC14) (Encode, decode)
-
SSCC18 (Encode, decode)
-
ITF14 (Encode, decode)
-
Matrix 2 of 5 (Encode, decode)
-
PZN (Encode, decode)
-
Code128 (Encode, decode)
-
EAN128 (Encode, decode)
-
Code39 Extended (Encode, decode)
-
Code39 Standard (Encode, decode)
-
Code93 Extended (Encode, decode)
-
Code93 Standard (Encode, decode)
-
IATA 2 of 5 (Encode, decode)
2D barcode symbologies include:
-
PDF417 (Encode, decode)
-
MacroPDF417 (Encode, decode)
-
DataMatrix (Encode, decode)
-
Aztec (Encode, decode)
-
QR (Encode, decode)
-
Italian Post 25 (Encode, decode)
Postal barcode symbologies include:
-
Postnet (Encode, decode)
-
Planet (Encode, decode)
-
USPS OneCode (Encode, decode)
-
Australia Post (Encode, decode)
-
Deutsche Post Identcode (Encode, decode)
Advanced Imaging Options
Aspose.BarCode allows you to easily manipulate barcode image borders, border colors, style, margins and width as well as allowing you to modify image color, back color and bar color. You can also rotate barcode images to any angle and produce high quality barcode images with anti-aliasing.
Aspose.BarCode gives you the ability to specify size in inches and millimeters as well as allowing the auto-sizing of barcode images. With Aspose.BarCode you can create barcode images in any desired output image format like BMP, JPEG, GIF, PNG, TIFF, WMF etc.
Customizing Barcodes
With Aspose.BarCode you can easily customize barcodes to suit your needs by specifying different kinds of symbologies, setting barcode code text (data to be encoded to barcode image) and appearance related properties like font, back color, fore color, alignment and location (hide, above, below) etc. You can also easily manage barcode caption, its font, back color, fore color, alignment and location (hide, above, below).
BarCode Recognition
Aspose.BarCode can read a variety of the most commonly used Linear, 2D and Postal barcodes, detecting them anywhere, with any orientation. If there is more than one barcode in a single image, Aspose.BarCode can detect each and you can easily check the detected code text, symbology type and orientation of all recognized barcodes.Slightly damaged barcode detection is sometimes also possible.
WPF Support
Aspose.BarCode supports the WPF framework and can generate high quality vector based barcode images for WPF applications.
GUI BarCode Control
Aspose.BarCode provides GUI based WYSIWYG barcode control for Windows Forms, Web Forms and WPF applications. Almost all properties such as codetext, symbology, caption, foreground color, background color etc. can be edited using the control.