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
-
Generate barcode images and save to stream or image file
-
Recognize barcodes from stream or image file
-
Enhance your application workflow by adding barcode functionality
-
Embed barcodes in documents to aid tracability
-
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.