Aspose.BarCode
22.3.0
See the version list below for details.
dotnet add package Aspose.BarCode --version 22.3.0
NuGet\Install-Package Aspose.BarCode -Version 22.3.0
<PackageReference Include="Aspose.BarCode" Version="22.3.0" />
paket add Aspose.BarCode --version 22.3.0
#r "nuget: Aspose.BarCode, 22.3.0"
// Install Aspose.BarCode as a Cake Addin #addin nuget:?package=Aspose.BarCode&version=22.3.0 // Install Aspose.BarCode as a Cake Tool #tool nuget:?package=Aspose.BarCode&version=22.3.0
SwissQRBill, SwissQRCodetext Barcode .NET API
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | 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 customization the barcode's appearance including bar height, color, margins, borders, and so on. While scanning for barcodes, developers can specify the area where a barcode can be found as well as direct the engine to look for rotated barcodes.
What is Aspose.BarCode for .NET?
Aspose.BarCode for .NET is a set of barcode generation, recognition, and conversion components that you can use to enhance your .NET applications, supporting Windows Forms, WPF as well as ASP.NET. Works with 60+ symbologies, including, numeric, alpha-numeric, and 2D symbologies. Using Aspose.BarCode on premise API, your applications will be able to customize the physical appearance as well as the formatting of barcodes without installing any 3rd party software. Supported formats include, JPEG, TIFF, EXIF, SVG, PNG, BMP and more.
Aspose.BarCode for .NET works great in scanning and recognizing barcodes symbologies (e.g. 1D, MacroPDF417, Datamatrix, etc.) and images. It also recognizes multiple barcode symbologies used within a single image. Aspose.BarCode for .NET also helps you in increasing the barcode detection speed via multi-threading. You can also detect orientation of the barcode as well as if the barcode is readable or not (for selected symbologies only).
Aspose.BarCode for .NET is written completely in C# and consists of just a single assembly without any dependencies (except on the .NET Framework itself). Aspose.BarCode for .NET supports all versions of the Microsoft .NET Framework from 2.0 to 4.8. It is also in compliance with the .NET Standard 2.0.
You can also take advantage of our barcode generator plugins for Microsoft Dynamics CRM as well as Sitefinity.
Barcode API Features
- Generate & recognize 40+ barcode symbologies with just a few lines of code.
- Read 1D & 2D barcodes at any angle.
- Easily print barcode labels to physical or virtual printers.
- Support for barcode supplement data and checksum.
- Optimized code128 encoding.
- Specify the image area to scan the barcode.
- Create device resolution dependent images.
What's new in v22.3.0
Improved Handling of SwissQRBill
Swiss QR Code symbology is typically used in facilitating automated digital payments. Aspose.BarCode for .NET contains SwissQRBill
class that can be used to implement the Swiss QR Code support in your Apps.
In some instances it was observed that the API was not throwing exception in case of SwissQRBill
empty element StrdBkgInf
(BillInformation). The current version of the API has resolved this issue.
The following C# sample of demonstrates how to read Swiss QR Code (QR Code Recognition) via API:
Console.OutputEncoding = Encoding.Unicode;
//recognize Swiss QR Code
BarCodeReader reader = new BarCodeReader($"{path}SwissQRBill.png", DecodeType.QR);
foreach (BarCodeResult result in reader.ReadBarCodes())
{
SwissQRCodetext swissResult = ComplexCodetextReader.TryDecodeSwissQR(result.CodeText);
if (null == swissResult) continue;
Console.WriteLine($"Version:{swissResult.Bill.Version}");
Console.WriteLine($"Account:{swissResult.Bill.Account}");
Console.WriteLine($"Amount:{swissResult.Bill.Amount}");
Console.WriteLine($"Currency:{swissResult.Bill.Currency}");
Console.WriteLine($"Reference:{swissResult.Bill.Reference}");
Console.WriteLine($"Creditor:{swissResult.Bill.Creditor.Name}");
Console.WriteLine($"Debtor:{swissResult.Bill.Debtor.Name}");
}
Improved Handling of SwissQRCodetext
An issue was observed with SwissQRCodetext
where after the End-Tag (EPD-Trailer) there was an unnecessary New-Line (CR-LF). This issue has now been resolved.
For a complete list of features, enhancements, and bug fixes in this release please visit, Aspose.BarCode for .NET 22.3 Release Notes.
Supported Symbologies for Barcode Generation & Recognition
- BarCode Supplement
- BooklandEAN
- Codabar
- Code11
- Code128
- Code39 Extended
- Code39 Standard
- Code93 Extended
- Code93 Standard
- Datamatrix
- Deutsche Post Identcode
- EAN128
- EAN13
- EAN14(SCC14)
- EAN8
- Interleaved2of5
- ITF14
- Matrix 2 of 5
- MSI
- PDF417
- Planet
- Postnet
- PZN (Pharma Zentral Nummer, Pharmazentralnummer barcode)
- QR
- SSCC18
- Standard2of5
- Swiss QR
- UPCA
- UPCE
Supported Symbologies for Barcode Generation Only
- Australia Post
- Aztec
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, WinForms, WPF, ASP.NET, and .NET core. In short, you can develop apps using Aspose.BarCode for .NET where the .NET framework is available.
Get Started
Are you ready to give Aspose.BarCode for .NET a try? Simply execute Install-Package Aspose.BarCode
from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.BarCode for .NET and want to upgrade the version, please execute Update-Package Aspose.BarCode
to get the latest version.
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 = 1 f;
// save the image to your system and set its image format to Jpeg
generator.Save(dir + "output.jpg", BarCodeImageFormat.Jpeg);
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);
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 was computed. 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 was computed. 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. net30 is compatible. net35 is compatible. net35-client is compatible. net40 is compatible. net40-client is compatible. net403 was computed. net45 is compatible. 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.0
- No dependencies.
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 3.5 Client
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.0 Client
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETFramework 4.6
- No dependencies.
-
.NETFramework 4.7
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
.NETStandard 2.0
- System.Drawing.Common (>= 5.0.2)
- System.Text.Encoding.CodePages (>= 5.0.0)
-
.NETStandard 2.1
- System.Drawing.Common (>= 5.0.2)
- System.Text.Encoding.CodePages (>= 5.0.0)
-
net5.0
- System.Drawing.Common (>= 5.0.2)
- System.Text.Encoding.CodePages (>= 5.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.11.0 | 594 | 11/18/2024 |
24.10.0 | 6,606 | 10/20/2024 |
24.9.0 | 10,537 | 9/18/2024 |
24.8.0 | 20,384 | 8/20/2024 |
24.7.0 | 7,720 | 7/19/2024 |
24.6.0 | 13,445 | 6/20/2024 |
24.5.0 | 25,496 | 5/20/2024 |
24.4.0 | 11,882 | 4/21/2024 |
24.3.0 | 31,766 | 3/21/2024 |
24.2.0 | 14,448 | 2/29/2024 |
24.1.0 | 34,397 | 1/21/2024 |
23.12.0 | 18,980 | 12/27/2023 |
23.11.0 | 12,754 | 12/7/2023 |
23.10.0 | 89,622 | 10/20/2023 |
23.9.0 | 17,533 | 9/22/2023 |
23.8.1 | 20,470 | 8/24/2023 |
23.7.0 | 49,993 | 7/22/2023 |
23.6.1 | 2,720 | 8/9/2023 |
23.5.1 | 4,351 | 8/9/2023 |
23.4.0 | 32,059 | 4/20/2023 |
23.3.1 | 10,731 | 4/6/2023 |
23.1.0 | 79,606 | 1/22/2023 |
22.12.0 | 28,762 | 12/18/2022 |
22.11.0 | 42,641 | 11/18/2022 |
22.10.0 | 131,232 | 10/21/2022 |
22.9.0 | 38,723 | 9/22/2022 |
22.8.0 | 35,058 | 8/22/2022 |
22.7.0 | 15,259 | 7/26/2022 |
22.6.0 | 73,758 | 6/25/2022 |
22.5.0 | 20,123 | 5/20/2022 |
22.4.0 | 20,395 | 4/29/2022 |
22.3.0 | 34,519 | 3/26/2022 |
22.2.0 | 67,688 | 2/26/2022 |
22.1.0 | 44,231 | 1/26/2022 |
21.12.0 | 66,248 | 12/19/2021 |
21.11.0 | 31,784 | 11/18/2021 |
21.10.0 | 26,117 | 10/19/2021 |
21.9.0 | 23,682 | 9/17/2021 |
21.8.0 | 36,834 | 8/20/2021 |
21.7.0 | 40,612 | 7/18/2021 |
21.6.0 | 18,076 | 6/20/2021 |
21.5.0 | 17,664 | 5/19/2021 |
21.4.0 | 33,227 | 4/20/2021 |
21.3.0 | 49,058 | 3/18/2021 |
21.2.0 | 34,792 | 2/17/2021 |
21.1.0 | 21,201 | 1/22/2021 |
20.12.0 | 32,834 | 12/17/2020 |
20.11.0 | 63,476 | 11/19/2020 |
20.10.0 | 175,051 | 10/23/2020 |
20.9.0 | 31,889 | 9/25/2020 |
20.8.0 | 10,143 | 8/27/2020 |
20.7.0 | 15,269 | 7/28/2020 |
20.6.0 | 26,600 | 6/26/2020 |
20.4.0 | 40,355 | 4/23/2020 |
20.3.0 | 14,076 | 3/24/2020 |
20.2.0 | 28,643 | 2/23/2020 |
20.1.0 | 13,117 | 1/24/2020 |
19.12.0 | 47,479 | 12/23/2019 |
19.11.0 | 14,848 | 11/19/2019 |
19.10.0 | 21,706 | 10/23/2019 |
19.9.0 | 43,605 | 9/17/2019 |
19.8.0 | 12,899 | 8/15/2019 |
19.7.0 | 2,930 | 7/25/2019 |
19.6.1 | 2,258 | 7/6/2019 |
19.5.0 | 5,411 | 5/24/2019 |
19.4.0 | 121,339 | 4/11/2019 |
19.3.0 | 7,499 | 3/19/2019 |
19.2.1 | 3,689 | 3/15/2019 |
19.1.1 | 3,559 | 3/15/2019 |
18.12.1 | 6,585 | 3/15/2019 |
18.11.1 | 1,516 | 3/15/2019 |
18.10.1 | 1,557 | 3/15/2019 |
18.9.1 | 1,706 | 3/15/2019 |
18.8.0 | 8,193 | 8/30/2018 |
18.7.0 | 8,034 | 7/17/2018 |
18.6.0 | 8,891 | 6/14/2018 |
18.5.0 | 4,407 | 5/18/2018 |
18.4.0 | 7,755 | 5/2/2018 |
18.3.0 | 27,305 | 3/20/2018 |
18.2.0 | 14,974 | 2/18/2018 |
18.1.0 | 16,484 | 1/10/2018 |
17.12.0 | 23,849 | 12/4/2017 |
17.11.0 | 4,166 | 11/8/2017 |
17.10.0 | 2,364 | 10/19/2017 |
17.9.0 | 2,479 | 9/28/2017 |
17.8.0 | 4,232 | 8/31/2017 |
17.7.0 | 3,807 | 7/27/2017 |
17.6.0 | 3,696 | 7/3/2017 |
17.5.0 | 2,930 | 6/1/2017 |
17.4.0 | 18,287 | 5/1/2017 |
17.3.0.1 | 3,564 | 4/6/2017 |
17.3.0 | 3,781 | 3/30/2017 |
17.2.0 | 4,721 | 3/1/2017 |
17.1.0 | 4,901 | 2/4/2017 |
16.12.1 | 4,985 | 12/13/2016 |
16.12.0 | 2,439 | 12/7/2016 |
16.11.0 | 9,043 | 11/4/2016 |
16.10.0 | 18,268 | 10/5/2016 |
8.2.1 | 11,621 | 9/5/2016 |
8.2.0 | 2,219 | 8/27/2016 |
8.1.0 | 12,118 | 7/20/2016 |
8.0.0 | 13,150 | 6/13/2016 |
7.9.0 | 39,295 | 4/25/2016 |
7.8.0 | 2,941 | 3/28/2016 |
7.7.0 | 10,026 | 2/1/2016 |
7.6.1 | 94,349 | 12/24/2015 |
7.6.0 | 2,180 | 12/16/2015 |
7.5.0 | 13,820 | 11/24/2015 |
7.4.0 | 2,648 | 10/23/2015 |
7.3.0 | 3,239 | 9/22/2015 |
7.2.0 | 29,362 | 8/20/2015 |
7.1.0 | 31,631 | 7/17/2015 |
7.0.0 | 3,211 | 6/9/2015 |
6.9.0 | 19,047 | 4/24/2015 |
6.8.0 | 8,545 | 2/6/2015 |
6.7.0 | 2,550 | 12/31/2014 |
6.6.0 | 4,058 | 11/12/2014 |
6.5.0 | 2,832 | 9/8/2014 |
6.4.0 | 5,047 | 7/3/2014 |
6.3.0 | 4,790 | 5/31/2014 |
6.2.0 | 3,242 | 4/30/2014 |
6.1.0 | 5,162 | 3/19/2014 |
6.0.0 | 10,509 | 12/31/2013 |
5.9.0 | 2,833 | 11/29/2013 |
5.8.0 | 24,857 | 10/23/2013 |
5.7.0 | 2,866 | 9/2/2013 |
5.6.2 | 2,875 | 7/29/2013 |
5.6.1.1 | 2,229 | 7/18/2013 |
5.6.1 | 2,629 | 7/17/2013 |
5.6.0 | 2,452 | 7/9/2013 |
5.5.0 | 2,967 | 4/3/2013 |
5.4.0 | 5,022 | 2/5/2013 |
5.3.0 | 27,215 | 12/28/2012 |
5.2.0 | 2,738 | 11/20/2012 |
5.1.0 | 9,025 | 10/8/2012 |
5.0.0 | 2,528 | 8/29/2012 |
4.9.0 | 2,501 | 7/19/2012 |
4.8.0 | 2,662 | 6/4/2012 |
4.7.0 | 2,427 | 4/18/2012 |
4.6.0 | 4,079 | 2/25/2012 |
4.5.0.1 | 2,422 | 2/16/2012 |
4.5.0 | 38,658 | 1/24/2012 |