Aspose.BarCode 21.4.0

Aspose.BarCode for .NET 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 .NET applications (WinForms, WPF and .NET Core).
      Aspose.BarCode for .NET supports most established barcode standards and barcode specifications. It has the ability to export to multiple image formats including: BMP, GIF, JPEG, PNG, TIFF, EMF and SVG.

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.BarCode -Version 21.4.0
dotnet add package Aspose.BarCode --version 21.4.0
<PackageReference Include="Aspose.BarCode" Version="21.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.BarCode --version 21.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspose.BarCode, 21.4.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.BarCode as a Cake Addin
#addin nuget:?package=Aspose.BarCode&version=21.4.0

// Install Aspose.BarCode as a Cake Tool
#tool nuget:?package=Aspose.BarCode&version=21.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Barcode Generation & Recognition Library for .NET Applications

Version 21.4 Nuget

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License
Generate barcode online | Read barcode online | Embed barcode

Aspose.BarCode for .NET is a complete framework to create and recognize barcodes. It provides options to control almost any aspect of 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.

Barcode API Features

Supported Symbologies for Barcode Generation & Recognition

The following symbologies are supported for generation and recognition by Aspose.BarCode engine:

  • 1D: Code 11, Code 128, Code 32, Code 39, Code 93, Codabar, Code 16K, CodablockF, Databar OmniDirectional, Databar Stacked OmniDirectional, DatabarLimited, DatabarTruncated,
    Databar Stacked, Databar Expanded, Databar Expanded Stacked, EAN 13, EAN 14, EAN 8, GS1 CodablockF, GS1 Code 128, IATA 2 of 5, Italian Post 25, Interleaved 2 of 5, ISBN
    ISMN, ISSN, ITF6, ITF 14, Matrix 2 of 5, MSI, OPC, PatchCode, Pharmacode, PZN, SSCC 14, SSCC 18, Standard 2 of 5, EAN 5, EAN 2, UPC A, UPC E, UpcaGs1DatabarCoupon, VIN.

  • 2D: Aztec, Compact PDF 417, Data Matrix, DotCode, GS1 Data Matrix, GS1 QR, MaxiCode, Macro PDF 417, Micro PDF 417, PDF 417, QR, MicroQR, Swiss QR.

  • Postal: Australia Post, AustralianPosteParcel, Deutsche Post Identcode, Deutsche Post Leticode, Planet, Postnet, RM4SCC, SingaporePost, SwissPostParcel, USPS OneCode.

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, WinForms, WPF, ASP.NET, Mono, Xamarin, UWP 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 add Aspose.BarCode to your project references as Nuget package. If you have some difficulties with this, our examples can help you to sort this out.

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.

// Create 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 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";;

// Create 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 all barcodes from 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 | Free Support | Temporary License

Barcode Generation & Recognition Library for .NET Applications

Version 21.4 Nuget

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License
Generate barcode online | Read barcode online | Embed barcode

Aspose.BarCode for .NET is a complete framework to create and recognize barcodes. It provides options to control almost any aspect of 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.

Barcode API Features

Supported Symbologies for Barcode Generation & Recognition

The following symbologies are supported for generation and recognition by Aspose.BarCode engine:

  • 1D: Code 11, Code 128, Code 32, Code 39, Code 93, Codabar, Code 16K, CodablockF, Databar OmniDirectional, Databar Stacked OmniDirectional, DatabarLimited, DatabarTruncated,
    Databar Stacked, Databar Expanded, Databar Expanded Stacked, EAN 13, EAN 14, EAN 8, GS1 CodablockF, GS1 Code 128, IATA 2 of 5, Italian Post 25, Interleaved 2 of 5, ISBN
    ISMN, ISSN, ITF6, ITF 14, Matrix 2 of 5, MSI, OPC, PatchCode, Pharmacode, PZN, SSCC 14, SSCC 18, Standard 2 of 5, EAN 5, EAN 2, UPC A, UPC E, UpcaGs1DatabarCoupon, VIN.

  • 2D: Aztec, Compact PDF 417, Data Matrix, DotCode, GS1 Data Matrix, GS1 QR, MaxiCode, Macro PDF 417, Micro PDF 417, PDF 417, QR, MicroQR, Swiss QR.

  • Postal: Australia Post, AustralianPosteParcel, Deutsche Post Identcode, Deutsche Post Leticode, Planet, Postnet, RM4SCC, SingaporePost, SwissPostParcel, USPS OneCode.

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, WinForms, WPF, ASP.NET, Mono, Xamarin, UWP 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 add Aspose.BarCode to your project references as Nuget package. If you have some difficulties with this, our examples can help you to sort this out.

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.

// Create 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 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";;

// Create 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 all barcodes from 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 | Free Support | Temporary License

Release Notes

https://docs.aspose.com/barcode/net/aspose-barcode-for-net-21-4-release-notes/

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Aspose.BarCode:

Package Downloads
Zny.ServiceClient.Common
微服务调用公共类
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.
Conholdate.Total
Conholdate.Total for .NET is a complete package to work with a large number of file formats from Microsoft Word, Excel, PowerPoint, Outlook, Project, Visio, Adobe Acrobat, Illustrator, Photoshop, AutoCAD, OpenOffice and many more. Conholdate.Total for .NET allows you to use any API released under Aspose and GroupDocs for .NET in order to create, convert, read, edit, update and print popular document formats. Moreover, you may view, annotate, watermark, assemble, classify, search, redact, parse, merge and compare documents without needing to install the native applications. It helps you in file format manipulation and document automation via simple API. Conholdate.Total for .NET also includes specialized APIs to read and create barcodes, extract text from images using OCR as well as extract human marked data from questioners, surveys, quizzes, MCQ papers and feedback forms.
AP.Barcode.Services
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 History

Version Downloads Last updated
21.6.0 113 6/20/2021
21.5.0 1,942 5/19/2021
21.4.0 6,656 4/20/2021
21.3.0 3,015 3/18/2021
21.2.0 4,900 2/17/2021
21.1.0 2,672 1/22/2021
20.12.0 6,680 12/17/2020
20.11.0 12,478 11/19/2020
20.10.0 3,663 10/23/2020
20.9.0 6,533 9/25/2020
20.8.0 4,590 8/27/2020
20.7.0 5,850 7/28/2020
20.6.0 10,052 6/26/2020
20.4.0 11,115 4/23/2020
20.3.0 6,860 3/24/2020
20.2.0 6,087 2/23/2020
20.1.0 2,613 1/24/2020
19.12.0 20,644 12/23/2019
19.11.0 9,170 11/19/2019
19.10.0 2,591 10/23/2019
19.9.0 18,171 9/17/2019
19.8.0 2,593 8/15/2019
19.7.0 1,792 7/25/2019
19.6.1 989 7/6/2019
19.5.0 2,544 5/24/2019
19.4.0 45,827 4/11/2019
19.3.0 3,312 3/19/2019
19.2.1 1,077 3/15/2019
19.1.1 815 3/15/2019
18.12.1 3,220 3/15/2019
18.11.1 373 3/15/2019
18.10.1 393 3/15/2019
18.9.1 396 3/15/2019
18.8.0 3,851 8/30/2018
18.7.0 4,305 7/17/2018
18.6.0 4,861 6/14/2018
18.5.0 1,658 5/18/2018
18.4.0 1,672 5/2/2018
18.3.0 4,269 3/20/2018
18.2.0 7,403 2/18/2018
18.1.0 11,577 1/10/2018
17.12.0 9,255 12/4/2017
17.11.0 2,527 11/8/2017
17.10.0 1,147 10/19/2017
17.9.0 1,118 9/28/2017
17.8.0 2,866 8/31/2017
17.7.0 2,431 7/27/2017
17.6.0 1,793 7/3/2017
17.5.0 1,467 6/1/2017
17.4.0 6,305 5/1/2017
17.3.0.1 1,810 4/6/2017
17.3.0 1,392 3/30/2017
17.2.0 2,942 3/1/2017
17.1.0 2,938 2/4/2017
16.12.1 2,336 12/13/2016
16.12.0 932 12/7/2016
16.11.0 4,076 11/4/2016
16.10.0 2,560 10/5/2016
8.2.1 7,906 9/5/2016
8.2.0 975 8/27/2016
8.1.0 3,772 7/20/2016
8.0.0 5,081 6/13/2016
7.9.0 32,351 4/25/2016
7.8.0 1,199 3/28/2016
7.7.0 2,784 2/1/2016
7.6.1 64,317 12/24/2015
7.6.0 951 12/16/2015
7.5.0 5,167 11/24/2015
7.4.0 1,191 10/23/2015
7.3.0 1,590 9/22/2015
7.2.0 1,901 8/20/2015
7.1.0 5,486 7/17/2015
7.0.0 1,771 6/9/2015
6.9.0 3,618 4/24/2015
6.8.0 3,854 2/6/2015
6.7.0 1,187 12/31/2014
6.6.0 2,470 11/12/2014
6.5.0 1,507 9/8/2014
6.4.0 2,654 7/3/2014
6.3.0 3,403 5/31/2014
6.2.0 2,033 4/30/2014
6.1.0 2,369 3/19/2014
6.0.0 3,886 12/31/2013
5.9.0 1,492 11/29/2013
5.8.0 6,662 10/23/2013
5.7.0 1,700 9/2/2013
5.6.2 1,573 7/29/2013
5.6.1.1 1,132 7/18/2013
5.6.1 1,249 7/17/2013
5.6.0 1,214 7/9/2013
5.5.0 1,662 4/3/2013
5.4.0 2,021 2/5/2013
5.3.0 8,793 12/28/2012
5.2.0 1,367 11/20/2012
5.1.0 4,819 10/8/2012
5.0.0 1,331 8/29/2012
4.9.0 1,330 7/19/2012
4.8.0 1,509 6/4/2012
4.7.0 1,332 4/18/2012
4.6.0 2,484 2/25/2012
4.5.0.1 1,252 2/16/2012
4.5.0 33,992 1/24/2012