![]() |
VOOZH | about |
dotnet add package Aspose.BarCode --version 26.5.0
NuGet\Install-Package Aspose.BarCode -Version 26.5.0
<PackageReference Include="Aspose.BarCode" Version="26.5.0" />
<PackageVersion Include="Aspose.BarCode" Version="26.5.0" />Directory.Packages.props
<PackageReference Include="Aspose.BarCode" />Project file
paket add Aspose.BarCode --version 26.5.0
#r "nuget: Aspose.BarCode, 26.5.0"
#:package Aspose.BarCode@26.5.0
#addin nuget:?package=Aspose.BarCode&version=26.5.0Install as a Cake Addin
#tool nuget:?package=Aspose.BarCode&version=26.5.0Install as a Cake Tool
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License
Aspose.BarCode for .NET doesn't just create or recognize barcodes but it provides a complete framework to control almost everything about barcodes. Developers can customize the barcode's appearance like bar height, colors, margins, borders, row/columns count and interpolation modes, as well as barcode generation properties like symbol mode encodings, error correction modes, ECI modes or special barcode metadata. While scanning for barcodes, developers can specify the area/areas where a barcode can be found. Moreover, scanning engine can be optimized for better barcode reading quality or speed with variety of options, which allows to recognize strongly corrupted barcodes.
Linear barcode types, or 1D barcodes, correspond to the first generation of one-dimensional barcodes (1D) that are used to represent information by varying the widths and spacings of parallel lines. Some 1D symbologies allow encoding only numbers, while others permit encoding also letters.
DataBar barcodes (former RSS-14) are 1D and 1D staked barcodes, which were developed to efficiently encode GS1 Application Identifier data.
Matrix barcodes, also known as 2D barcodes, have been introduced as a two-dimensional way to encode information. Two-dimensional (2D) barcodes are generated using various symbols and shapes. This barcode type is considered to be more efficient, as such barcodes contain more data per unit area, and most of them are self-correctable.
Postal barcodes are specific symbologies used by postal services in different countries.
HIBC barcodes encode data in special format which is used in Health Industry. As transport, the barcodes use other 1D and 2D barcodes and encode data as Alpha-Numeric.
GS1 barcodes use other 1D and 2D barcodes to encode GS1 Application Identifier data.
| Barcode Family | Barcode Types |
|---|---|
| 1D Numeric (Linear) | Codabar, Code11, Code128, DataLogic2of5, EAN13, EAN14, EAN8, IATA2of5, ISBN, ISMN, ISSN, ITF14, ITF6, Interleaved2of5, ItalianPost25, MSI, Matrix2of5, OPC, PZN, PatchCode, Pharmacode, SCC14, SSCC18, Standard2of5, UPCA, UPCE |
| 1D Alpha-Numeric (Linear) | CodablockF, Code128, Code16K, Code32, Code39Extended, Code39Standard, Code93Extended, Code93Standard, VIN |
| DataBar (RSS-14) | DatabarExpanded, DatabarExpandedStacked, DatabarLimited, DatabarOmniDirectional, DatabarStacked, DatabarStackedOmniDirectional, DatabarTruncated |
| 2D | Aztec, CompactPdf417, DataMatrix, DotCode, HanXin, MacroPdf417, MaxiCode, MicroPdf417, MicroQR, Pdf417, QR, RectMicroQR(rMQR), Swiss QR Code |
| Postal | AustraliaPost, AustralianPosteParcel, DeutschePostIdentcode, DeutschePostLeitcode, DutchKIX, Mailmark, Mailmark 2D, OneCode, Planet, Postnet, RM4SCC, SingaporePost, SwissPostParcel |
| HIBC | HIBCAztecLIC, HIBCAztecPAS, HIBCCode128LIC, HIBCCode128PAS, HIBCCode39LIC, HIBCCode39PAS, HIBCDataMatrixLIC, HIBCDataMatrixPAS, HIBCQRLIC, HIBCQRPAS |
| GS1 | GS1Aztec, GS1CodablockF, GS1Code128, GS1CompositeBar (GS1 Composite barcode), GS1DataMatrix, GS1DotCode, GS1HanXin, GS1MicroPdf417, GS1QR, UpcaGs1Code128Coupon, UpcaGs1DatabarCoupon |
| Other | MicrE13B(recognition only) |
Images: JPEG, TIFF, PNG, BMP, GIF, EXIF
Images: EMF, SVG
The barcode library supports any 32-bit or 64-bit operating system with the installed .NET framework 2.0 or later / .Net Core 3.1 or later with with Aspose.Drawing.Common (.Net 10 included).
| Operating System | Compatible Versions |
|---|---|
| Microsoft Windows | Microsoft Windows 10 or later: x64 / x86 |
| Microsoft Windows Server | Microsoft Windows Server 2016 and later: x64 / x86 |
| Linux | Any Linux x64 or x86 with installed .Net (Mono, .Net Core) |
| MacOS | Any MacOS x64 or x86 with installed .Net (Mono, .Net Core) |
| Android | Any supported with .Net MAUI |
| iOS | Any supported with .Net MAUI |
| Tizen | Any supported with .Net MAUI |
Aspose.BarCode for .NET can be used to create any type of x86 or x64 (32-bit or 64-bit) .NET application. Supported .NET frameworks are outlined below.
| Framework | Supported Versions | Additional Requirements |
|---|---|---|
| .NET Framework | 2.0 / 3.5 / 4.0 / 4.6 / 4.7 / 4.8 | |
| .NET Standard | 2.0 | Aspose.Drawing.Common 25.11.0+ / System.Text.Encoding.CodePages 9.0.2+ |
| .NET Core | 3.1 / .Net 6.0 / .Net 8.0 | Aspose.Drawing.Common 25.11.0+ / System.Text.Encoding.CodePages 9.0.2+ |
| .NET Core | .Net 9.0. / .Net 10.0. | Aspose.Drawing.Common 25.11.0+ |
Note on 32-bit (x86) Environments
Aspose.BarCode fully supports 32-bit (x86) applications. However, it is recommended to use a 64-bit (x64) environment when possible.
Due to the inherent memory limitations of 32-bit processes, barcode recognition performance may be reduced in scenarios that require significant computational or memory resources, including:
For improved performance, stability, and scalability, use of a 64-bit environment is advised.
Are you ready to give Aspose.BarCode for .NET a try? Simply add Aspose.BarCode to your project references as Nuget package. If you have some difficulties with this, our examples help you to manage with this.
Try the following snippet to see how Aspose.BarCode API performs in your environment or check the GitHub Repository for other common usage scenarios.
// instantiate object and set different barcode properties
BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.Code128, "1234567");
generator.Parameters.Barcode.XDimension.Millimeters = 1f;
// save the image to your system and set its image format to Png
generator.Save(dir + "output.png", BarCodeImageFormat.Png);
Aspose.BarCode for .NET allows you to customize various properties of barcodes, such as borders, color, type, bar height as well as barcode text. The following example shows, how simple it is to hide the barcode text using C#.
string codeText = "This text is hidden.\n" + "This text is hidden.\n";;
// instantiate barcode object and set CodeText, Symbology , and CodeLocation
BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.DataMatrix, codeText);
generator.Parameters.Barcode.CodeTextParameters.Location = CodeLocation.None;
generator.Save(dir + "output.png", BarCodeImageFormat.Png);
The following example demonstrates how to scan a picture of a barcode image using Aspose.BarCode
// Read file from directory with DecodeType.EAN13
using (BarCodeReader reader = new BarCodeReader(dataDir + "Scan.jpg", DecodeType.EAN13))
{
foreach (BarCodeResult result in reader.ReadBarCodes())
{
// Read symbology type and code text
Console.WriteLine("Symbology Type: " + result.CodeType);
Console.WriteLine("CodeText: " + result.CodeText);
}
}
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net20 net20 is compatible. net35 net35 is compatible. net40 net40 is compatible. net403 net403 was computed. net45 net45 was computed. net451 net451 was computed. net452 net452 was computed. net46 net46 is compatible. net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 is compatible. net471 net471 was computed. net472 net472 was computed. net48 net48 is compatible. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Aspose.BarCode:
| Package | Downloads |
|---|---|
|
Aspose.Total
Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications. |
|
|
Tharga.Reporter
Tharga Reporter generates PDF and prints pdf-documents and send then m diretly to the printer. |
|
|
Ppr.DocumentGenerator
Вспомогательная инфраструктура для генерации документов на базе сервисов Aspose |
|
|
Edocs.PrepareDocForPrinting
Package Description |
|
|
TemplateDocument
Merge dữ liệu cho excel, doc, phục vụ báo cáo, in |
Showing the top 1 popular GitHub repositories that depend on Aspose.BarCode:
| Repository | Stars |
|---|---|
|
aspose-words/Aspose.Words-for-.NET
Aspose.Words for .NET examples, plugins and showcases
|
| Version | Downloads | Last Updated |
|---|---|---|
| 26.5.0 | 3,497 | 5/25/2026 |
| 26.4.0 | 10,649 | 4/19/2026 |
| 26.3.0 | 11,759 | 3/23/2026 |
| 26.2.0 | 41,454 | 2/21/2026 |
| 26.1.0 | 12,967 | 1/22/2026 |
| 25.12.0 | 23,927 | 12/23/2025 |
| 25.11.0 | 26,840 | 11/20/2025 |
| 25.10.0 | 5,643 | 11/18/2025 |
| 25.9.0 | 261,450 | 9/19/2025 |
| 25.8.0 | 42,941 | 8/19/2025 |
| 25.7.0 | 23,128 | 7/19/2025 |
| 25.6.0 | 22,609 | 6/18/2025 |
| 25.5.0 | 17,631 | 5/26/2025 |
| 25.4.0 | 38,756 | 4/23/2025 |
| 25.3.0 | 20,845 | 3/21/2025 |
| 25.2.0 | 36,422 | 2/20/2025 |
| 25.1.0 | 24,183 | 1/17/2025 |
| 24.12.0 | 48,029 | 12/18/2024 |
| 24.11.0 | 49,972 | 11/18/2024 |
| 24.10.0 | 41,628 | 10/20/2024 |