Skip to content
| Marketplace
Sign in
Visual Studio>Controls>Aspose.BarCode for .NET
Aspose.BarCode for .NET

Aspose.BarCode for .NET

Aspose Marketplace

|
3,248 clicks
| (2) | Free Trial
Aspose.BarCode is a .NET API for generation and recognition of Linear, 2D and Postal barcodes from images at any angle on all kinds of .NET applications. It supports 50+ Barcode symbologies with encoding and decoding capabilities.
Get Started

Barcode Generation & Recognition Library for .NET Applications

Nuget Nuget

banner

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.

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.
  • Export barcode as XML.
  • Support for barcode supplement data and checksum.
  • Optimized code128 encoding.
  • Specify the image area to scan the barcode.
  • Create device resolution dependent images.

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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft