Aspose.BarCode 20.2.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 20.2.0
dotnet add package Aspose.BarCode --version 20.2.0
<PackageReference Include="Aspose.BarCode" Version="20.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.BarCode --version 20.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Barcode Generation & Recognition Library for .NET Applications

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 barcode, developers can specify area where a barcode can be found as well as direct the engine to look for rotated barcodes.

Barcode API Features

Public API & Backward Incompatible Changes in Version 20.2.0

  • added property Aspose.BarCode.Generation.BarcodeParameters.BarColor

  • added property Aspose.BarCode.Generation.BaseGenerationParameters.AutoSizeMode

  • added property Aspose.BarCode.Generation.BaseGenerationParameters.ImageHeight

  • added property Aspose.BarCode.Generation.BaseGenerationParameters.ImageWidth

  • added method Aspose.BarCode.BarCodeRecognition.Code128DataPortion.ToString

  • added method Aspose.BarCode.BarCodeRecognition.BarCodeReader.ExportToXml(System.IO.Stream)

  • added method Aspose.BarCode.BarCodeRecognition.BarCodeReader.ImportFromXml(System.IO.Stream)

  • marked obsolete property Aspose.BarCode.Generation.BarcodeParameters.ForeColor

  • marked obsolete property Aspose.BarCode.Generation.BarcodeParameters.AutoSizeMode

  • marked obsolete property Aspose.BarCode.Generation.BarcodeParameters.BarCodeWidth

  • marked obsolete property Aspose.BarCode.Generation.BarcodeParameters.BarCodeHeight

Barcode Symbologies

Numeric Only: EAN13, EAN8, UPCA, UPCE, ISBN, ISMN, ISSN, Interleaved2of5, Standard2of5, MSI, Code11, Codabar, Postnet, Planet, EAN14(SCC14), SSCC18, ITF14, IATA2of5, DatabarOmniDirectional, DatabarStackedOmniDirectional, DatabarExpandedStacked, DatabarStacked, DatabarLimited, DatabarTruncated
Alpha-Numeric: GS1Code128, Code128, Code39 Extended, Code39 Standard, Code93 Extended, Code93 Standard, Australia Post, Italian Post 25, Matrix2of5, DatabarExpanded. PatchCode
2D Symbologies: PDF417, DataMatrix, Aztec, QR, MicroQR, GS1DataMatrix, Code16K, CompactPDF417, Swiss QR (QR Bill)

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.

Getting Started with Aspose.BarCode for .NET

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 = 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. 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 | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License

Barcode Generation & Recognition Library for .NET Applications

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 barcode, developers can specify area where a barcode can be found as well as direct the engine to look for rotated barcodes.

Barcode API Features

Public API & Backward Incompatible Changes in Version 20.2.0

  • added property Aspose.BarCode.Generation.BarcodeParameters.BarColor

  • added property Aspose.BarCode.Generation.BaseGenerationParameters.AutoSizeMode

  • added property Aspose.BarCode.Generation.BaseGenerationParameters.ImageHeight

  • added property Aspose.BarCode.Generation.BaseGenerationParameters.ImageWidth

  • added method Aspose.BarCode.BarCodeRecognition.Code128DataPortion.ToString

  • added method Aspose.BarCode.BarCodeRecognition.BarCodeReader.ExportToXml(System.IO.Stream)

  • added method Aspose.BarCode.BarCodeRecognition.BarCodeReader.ImportFromXml(System.IO.Stream)

  • marked obsolete property Aspose.BarCode.Generation.BarcodeParameters.ForeColor

  • marked obsolete property Aspose.BarCode.Generation.BarcodeParameters.AutoSizeMode

  • marked obsolete property Aspose.BarCode.Generation.BarcodeParameters.BarCodeWidth

  • marked obsolete property Aspose.BarCode.Generation.BarcodeParameters.BarCodeHeight

Barcode Symbologies

Numeric Only: EAN13, EAN8, UPCA, UPCE, ISBN, ISMN, ISSN, Interleaved2of5, Standard2of5, MSI, Code11, Codabar, Postnet, Planet, EAN14(SCC14), SSCC18, ITF14, IATA2of5, DatabarOmniDirectional, DatabarStackedOmniDirectional, DatabarExpandedStacked, DatabarStacked, DatabarLimited, DatabarTruncated
Alpha-Numeric: GS1Code128, Code128, Code39 Extended, Code39 Standard, Code93 Extended, Code93 Standard, Australia Post, Italian Post 25, Matrix2of5, DatabarExpanded. PatchCode
2D Symbologies: PDF417, DataMatrix, Aztec, QR, MicroQR, GS1DataMatrix, Code16K, CompactPDF417, Swiss QR (QR Bill)

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.

Getting Started with Aspose.BarCode for .NET

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 = 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. 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 | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License

Release Notes

https://docs.aspose.com/display/barcodenet/Aspose.BarCode+for+.NET+20.2+Release+Notes

  • .NETFramework 2.0

    • No dependencies.
  • .NETFramework 3.0

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETFramework 4.7.1

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETStandard 2.0

NuGet packages (3)

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

Package Downloads
Tharga.Reporter
Create and manage XML templates for print and PDF output.
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.
Zny.ServiceClient.Common
五凌项目微服务调用公共类

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
20.11.0 215 11/19/2020
20.10.0 784 10/23/2020
20.9.0 2,138 9/25/2020
20.8.0 2,390 8/27/2020
20.7.0 2,344 7/28/2020
20.6.0 3,737 6/26/2020
20.4.0 6,810 4/23/2020
20.3.0 5,207 3/24/2020
20.2.0 4,668 2/23/2020
20.1.0 2,012 1/24/2020
19.12.0 8,845 12/23/2019
19.11.0 5,931 11/19/2019
19.10.0 1,870 10/23/2019
19.9.0 13,292 9/17/2019
19.8.0 2,263 8/15/2019
19.7.0 1,616 7/25/2019
19.6.1 825 7/6/2019
19.5.0 2,113 5/24/2019
19.4.0 26,628 4/11/2019
19.3.0 2,607 3/19/2019
19.2.1 859 3/15/2019
19.1.1 535 3/15/2019
18.12.1 2,885 3/15/2019
18.11.1 240 3/15/2019
18.10.1 261 3/15/2019
18.9.1 251 3/15/2019
18.8.0 3,019 8/30/2018
18.7.0 3,796 7/17/2018
18.6.0 4,582 6/14/2018
18.5.0 1,323 5/18/2018
18.4.0 1,431 5/2/2018
18.3.0 3,102 3/20/2018
18.2.0 6,547 2/18/2018
18.1.0 11,059 1/10/2018
17.12.0 8,204 12/4/2017
17.11.0 2,300 11/8/2017
17.10.0 955 10/19/2017
17.9.0 918 9/28/2017
17.8.0 2,647 8/31/2017
17.7.0 2,205 7/27/2017
17.6.0 1,582 7/3/2017
17.5.0 1,166 6/1/2017
17.4.0 5,427 5/1/2017
17.3.0.1 1,581 4/6/2017
17.3.0 1,179 3/30/2017
17.2.0 2,703 3/1/2017
17.1.0 2,668 2/4/2017
16.12.1 2,090 12/13/2016
16.12.0 724 12/7/2016
16.11.0 3,589 11/4/2016
16.10.0 1,907 10/5/2016
8.2.1 5,217 9/5/2016
8.2.0 778 8/27/2016
8.1.0 3,209 7/20/2016
8.0.0 4,347 6/13/2016
7.9.0 30,778 4/25/2016
7.8.0 981 3/28/2016
7.7.0 2,333 2/1/2016
7.6.1 52,234 12/24/2015
7.6.0 745 12/16/2015
7.5.0 4,130 11/24/2015
7.4.0 968 10/23/2015
7.3.0 1,354 9/22/2015
7.2.0 1,640 8/20/2015
7.1.0 4,540 7/17/2015
7.0.0 1,558 6/9/2015
6.9.0 3,166 4/24/2015
6.8.0 2,933 2/6/2015
6.7.0 946 12/31/2014
6.6.0 2,235 11/12/2014
6.5.0 1,299 9/8/2014
6.4.0 2,422 7/3/2014
6.3.0 3,124 5/31/2014
6.2.0 1,581 4/30/2014
6.1.0 2,051 3/19/2014
6.0.0 2,780 12/31/2013
5.9.0 1,238 11/29/2013
5.8.0 2,063 10/23/2013
5.7.0 1,469 9/2/2013
5.6.2 1,343 7/29/2013
5.6.1.1 904 7/18/2013
5.6.1 1,019 7/17/2013
5.6.0 1,004 7/9/2013
5.5.0 1,436 4/3/2013
5.4.0 1,546 2/5/2013
5.3.0 3,174 12/28/2012
5.2.0 1,148 11/20/2012
5.1.0 3,704 10/8/2012
5.0.0 1,101 8/29/2012
4.9.0 1,095 7/19/2012
4.8.0 1,254 6/4/2012
4.7.0 1,113 4/18/2012
4.6.0 2,133 2/25/2012
4.5.0.1 1,037 2/16/2012
4.5.0 30,014 1/24/2012
Show less