Aspose.BarCode
23.11.0
See the version list below for details.
dotnet add package Aspose.BarCode --version 23.11.0
NuGet\Install-Package Aspose.BarCode -Version 23.11.0
<PackageReference Include="Aspose.BarCode" Version="23.11.0" />
paket add Aspose.BarCode --version 23.11.0
#r "nuget: Aspose.BarCode, 23.11.0"
// Install Aspose.BarCode as a Cake Addin #addin nuget:?package=Aspose.BarCode&version=23.11.0 // Install Aspose.BarCode as a Cake Tool #tool nuget:?package=Aspose.BarCode&version=23.11.0
Barcode Generation & Recognition Library for .NET Apps
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License
Barcode Library for .NET
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.
Demo applications
- Generate Barcode
- Recognize Barcode
- Embed Barcode
- Generate Wi-Fi QR code
- Online QR code Scanner
- Barcode Scanner Online
Barcode API
- Generate & recognize 70+ barcode symbologies with just a few lines of code.
- Read 1D & 2D barcodes at any angle and image quality.
- Wide range of options to manipulate barcode image appearance.
- Generate barcodes with special barcode parameters, like error correction mode, ECI or embedded matadata.
- Barcode generation and recognition from documents, like Swiss QR bills.
- Create device resolution dependent images.
- Export barcode as XML.
- Specify the image areas to scan the barcode.
- Specify reading engine options to obtain best balance between reading quality and speed.
Supported Symbologies for Barcode Generation & Recognition
The following symbologies are supported for generation and recognition by Aspose.BarCode engine:
1D: Codabar, Code 11, Code 93 Standard, Code 93 Extended, Code 128, EAN8, EAN13, EAN14, SCC14, SSCC18, UPC-A, UPC-E, ISBN, ISSN, ISMN, Standard 2-of-5, Interleaved 2-of-5, Matrix 2-of-5, IATA 2-of-5, ITF-14, ITF-6, MSI, VIN, OPC, PZN, Code16K, Pharmacode, PatchCode, Code 32, Data Logic 2-of-5, Codablock-F, DatabarOmniDirectional, DatabarTruncated, DatabarLimited, DatabarExpanded, DatabarExpandedStacked, DatabarStacked, DatabarStackedOmniDirectional, EAN-2, EAN-5
2D: Data Matrix, QR Code, Micro QR Code, Aztec Code, PDF417, Macro PDF417, Micro PDF417, Compact PDF, MaxiCode, DotCode, Mailmark 2D, Swiss QR Code, Han Xin
Postal: AustraliaPost, Postnet, Planet, OneCode, RM4SCC, Mailmark, SingaporePost, DutchKIX, DeutschePostIdentcode, DeutschePostLeitcode, ItalianPost25, AustralianPosteParcel, SwissPostParcel,
GS1: GS1 Code 128, UpcaGs1Code128Coupon, UpcaGs1DatabarCoupon, GS1 Codablock-F, GS1 Data Matrix, GS1 QR Code, GS1 DotCode, GS1 Composite Bar
HIBC: HIBC Code 39 LIC, HIBC Code 128 LIC, HIBC Code 39 PAS, HIBC Code 128 PAS, HIBC Aztec Code LIC, HIBC Data Matrix LIC, HIBC QR Code LIC, HIBC Aztec Code PAS, HIBC Data Matrix PAS, HIBC QR Code PAS
Supported Symbologies for Barcode Recognition Only
- MicrE13B
Barcode Generation & Recognition Formats
Images: JPEG, TIFF, PNG, BMP, GIF, EXIF
Save BarCode Labels As
Images: EMF, SVG
Platform Independence
Aspose.BarCode for .NET can easily be used in any .NET 32-bit or 64-bit application, including, .Net Framework, .Net Core, ASP.NET, .Net MAUI, Mono, Xamarin, WinForms, WPF and UWP. In short, you can develop apps using Aspose.BarCode for .NET where the .NET framework or .Net Core are available.
Get Started
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.
Generate a Barcode Label with Code128
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);
Hide Barcode Text from the PNG Label via C# Code
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);
Recognize Barcode from File via C# Code
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 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net20 is compatible. net35 is compatible. net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 is compatible. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 2.0
- No dependencies.
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.6
- No dependencies.
-
.NETFramework 4.7
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
.NETStandard 2.0
- Aspose.Drawing.Common (>= 23.7.0)
- System.Text.Encoding.CodePages (>= 7.0.0)
-
.NETStandard 2.1
- Aspose.Drawing.Common (>= 23.7.0)
- System.Text.Encoding.CodePages (>= 7.0.0)
-
net5.0
- Aspose.Drawing.Common (>= 23.7.0)
- System.Text.Encoding.CodePages (>= 7.0.0)
-
net6.0
- Aspose.Drawing.Common (>= 23.7.0)
- System.Text.Encoding.CodePages (>= 7.0.0)
-
net7.0
- Aspose.Drawing.Common (>= 23.7.0)
- System.Text.Encoding.CodePages (>= 7.0.0)
NuGet packages (8)
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
Create and manage XML templates for print and PDF output. |
|
Ppr.DocumentGenerator
Вспомогательная инфраструктура для генерации документов на базе сервисов Aspose |
|
DockersUser
Package Description |
|
Edocs.PrepareDocForPrinting
Package Description |
GitHub repositories (1)
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 |
---|---|---|
24.10.0 | 4,041 | 10/20/2024 |
24.9.0 | 9,739 | 9/18/2024 |
24.8.0 | 19,710 | 8/20/2024 |
24.7.0 | 7,621 | 7/19/2024 |
24.6.0 | 13,200 | 6/20/2024 |
24.5.0 | 24,648 | 5/20/2024 |
24.4.0 | 11,640 | 4/21/2024 |
24.3.0 | 30,694 | 3/21/2024 |
24.2.0 | 14,074 | 2/29/2024 |
24.1.0 | 33,679 | 1/21/2024 |
23.12.0 | 18,505 | 12/27/2023 |
23.11.0 | 12,402 | 12/7/2023 |
23.10.0 | 88,453 | 10/20/2023 |
23.9.0 | 17,373 | 9/22/2023 |
23.8.1 | 20,197 | 8/24/2023 |
23.7.0 | 49,243 | 7/22/2023 |
23.6.1 | 2,658 | 8/9/2023 |
23.5.1 | 4,330 | 8/9/2023 |
23.4.0 | 31,696 | 4/20/2023 |
23.3.1 | 10,661 | 4/6/2023 |
23.1.0 | 78,892 | 1/22/2023 |
22.12.0 | 28,513 | 12/18/2022 |
22.11.0 | 41,740 | 11/18/2022 |
22.10.0 | 129,916 | 10/21/2022 |
22.9.0 | 38,544 | 9/22/2022 |
22.8.0 | 34,812 | 8/22/2022 |
22.7.0 | 15,211 | 7/26/2022 |
22.6.0 | 73,561 | 6/25/2022 |
22.5.0 | 20,050 | 5/20/2022 |
22.4.0 | 20,124 | 4/29/2022 |
22.3.0 | 34,299 | 3/26/2022 |
22.2.0 | 67,326 | 2/26/2022 |
22.1.0 | 44,097 | 1/26/2022 |
21.12.0 | 65,660 | 12/19/2021 |
21.11.0 | 31,595 | 11/18/2021 |
21.10.0 | 26,005 | 10/19/2021 |
21.9.0 | 23,577 | 9/17/2021 |
21.8.0 | 36,653 | 8/20/2021 |
21.7.0 | 40,490 | 7/18/2021 |
21.6.0 | 17,974 | 6/20/2021 |
21.5.0 | 17,564 | 5/19/2021 |
21.4.0 | 33,107 | 4/20/2021 |
21.3.0 | 48,946 | 3/18/2021 |
21.2.0 | 34,502 | 2/17/2021 |
21.1.0 | 21,099 | 1/22/2021 |
20.12.0 | 32,788 | 12/17/2020 |
20.11.0 | 63,282 | 11/19/2020 |
20.10.0 | 173,417 | 10/23/2020 |
20.9.0 | 31,618 | 9/25/2020 |
20.8.0 | 10,059 | 8/27/2020 |
20.7.0 | 15,245 | 7/28/2020 |
20.6.0 | 26,472 | 6/26/2020 |
20.4.0 | 40,131 | 4/23/2020 |
20.3.0 | 14,024 | 3/24/2020 |
20.2.0 | 28,427 | 2/23/2020 |
20.1.0 | 13,009 | 1/24/2020 |
19.12.0 | 47,230 | 12/23/2019 |
19.11.0 | 14,816 | 11/19/2019 |
19.10.0 | 21,591 | 10/23/2019 |
19.9.0 | 43,514 | 9/17/2019 |
19.8.0 | 12,865 | 8/15/2019 |
19.7.0 | 2,924 | 7/25/2019 |
19.6.1 | 2,254 | 7/6/2019 |
19.5.0 | 5,373 | 5/24/2019 |
19.4.0 | 120,683 | 4/11/2019 |
19.3.0 | 7,428 | 3/19/2019 |
19.2.1 | 3,665 | 3/15/2019 |
19.1.1 | 3,517 | 3/15/2019 |
18.12.1 | 6,575 | 3/15/2019 |
18.11.1 | 1,512 | 3/15/2019 |
18.10.1 | 1,553 | 3/15/2019 |
18.9.1 | 1,702 | 3/15/2019 |
18.8.0 | 8,186 | 8/30/2018 |
18.7.0 | 7,982 | 7/17/2018 |
18.6.0 | 8,807 | 6/14/2018 |
18.5.0 | 4,382 | 5/18/2018 |
18.4.0 | 7,742 | 5/2/2018 |
18.3.0 | 26,751 | 3/20/2018 |
18.2.0 | 14,924 | 2/18/2018 |
18.1.0 | 16,442 | 1/10/2018 |
17.12.0 | 23,489 | 12/4/2017 |
17.11.0 | 4,162 | 11/8/2017 |
17.10.0 | 2,358 | 10/19/2017 |
17.9.0 | 2,475 | 9/28/2017 |
17.8.0 | 4,225 | 8/31/2017 |
17.7.0 | 3,803 | 7/27/2017 |
17.6.0 | 3,692 | 7/3/2017 |
17.5.0 | 2,926 | 6/1/2017 |
17.4.0 | 18,096 | 5/1/2017 |
17.3.0.1 | 3,560 | 4/6/2017 |
17.3.0 | 3,774 | 3/30/2017 |
17.2.0 | 4,717 | 3/1/2017 |
17.1.0 | 4,890 | 2/4/2017 |
16.12.1 | 4,905 | 12/13/2016 |
16.12.0 | 2,428 | 12/7/2016 |
16.11.0 | 9,013 | 11/4/2016 |
16.10.0 | 18,179 | 10/5/2016 |
8.2.1 | 11,614 | 9/5/2016 |
8.2.0 | 2,214 | 8/27/2016 |
8.1.0 | 12,048 | 7/20/2016 |
8.0.0 | 13,045 | 6/13/2016 |
7.9.0 | 39,279 | 4/25/2016 |
7.8.0 | 2,937 | 3/28/2016 |
7.7.0 | 9,995 | 2/1/2016 |
7.6.1 | 94,339 | 12/24/2015 |
7.6.0 | 2,176 | 12/16/2015 |
7.5.0 | 13,780 | 11/24/2015 |
7.4.0 | 2,638 | 10/23/2015 |
7.3.0 | 3,231 | 9/22/2015 |
7.2.0 | 29,352 | 8/20/2015 |
7.1.0 | 31,423 | 7/17/2015 |
7.0.0 | 3,207 | 6/9/2015 |
6.9.0 | 18,988 | 4/24/2015 |
6.8.0 | 8,538 | 2/6/2015 |
6.7.0 | 2,547 | 12/31/2014 |
6.6.0 | 4,055 | 11/12/2014 |
6.5.0 | 2,823 | 9/8/2014 |
6.4.0 | 5,038 | 7/3/2014 |
6.3.0 | 4,780 | 5/31/2014 |
6.2.0 | 3,239 | 4/30/2014 |
6.1.0 | 5,126 | 3/19/2014 |
6.0.0 | 10,426 | 12/31/2013 |
5.9.0 | 2,830 | 11/29/2013 |
5.8.0 | 24,757 | 10/23/2013 |
5.7.0 | 2,863 | 9/2/2013 |
5.6.2 | 2,872 | 7/29/2013 |
5.6.1.1 | 2,226 | 7/18/2013 |
5.6.1 | 2,626 | 7/17/2013 |
5.6.0 | 2,449 | 7/9/2013 |
5.5.0 | 2,962 | 4/3/2013 |
5.4.0 | 5,009 | 2/5/2013 |
5.3.0 | 27,156 | 12/28/2012 |
5.2.0 | 2,735 | 11/20/2012 |
5.1.0 | 9,009 | 10/8/2012 |
5.0.0 | 2,524 | 8/29/2012 |
4.9.0 | 2,498 | 7/19/2012 |
4.8.0 | 2,659 | 6/4/2012 |
4.7.0 | 2,422 | 4/18/2012 |
4.6.0 | 4,069 | 2/25/2012 |
4.5.0.1 | 2,419 | 2/16/2012 |
4.5.0 | 38,628 | 1/24/2012 |