All Projects → aspose-barcode → Aspose.BarCode-for-.NET

aspose-barcode / Aspose.BarCode-for-.NET

Licence: MIT License
Aspose.BarCode for .NET examples, plugins and showcase projects

Programming Languages

javascript
184084 projects - #8 most used programming language
C#
18002 projects
CSS
56736 projects
ASP.NET
160 projects
HTML
75241 projects

Nuget Nuget GitHub

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.

Directory Description
Demos Source code for live demos hosted at https://products.aspose.app/barcode/family.
Examples A collection of .NET examples that help you learn the product features
Plugins Visual Studio Plugins related to Aspose.BarCode for .NET.
ReportingServices Source code of examples and utilities for Aspose.BarCode for Reporting Services

Demo applications

Generate Barcode Recognize Barcode Embed Barcode
Generate Recognize Embed

Barcode API

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 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 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);

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].