Recognize BarCodes using new Decode Types in Aspose.BarCode for .NET

Share on FacebookTweet about this on TwitterShare on LinkedIn

We are pleased to announce the release of Aspose.Barcode for .NET 18.11. This release added new Decode Types in the API for better recognition of Barcodes. For a detailed note on what is new and fixed, please visit the release notes page for information of API documentation.

New subsets added to DecodeType

The new release of Aspose.Barcode provides additional Decode types which enhance the performance and ease of reading barcodes. You may use the newly added Decode types as shown below.

using (BarCodeReader reader = new BarCodeReader("test.png", 
DecodeType.Types1D))
{
while (reader.Read())
{
Console.WriteLine(reader.GetCodeType().ToString()
+ " " + reader.GetCodeText());
}
}

using (BarCodeReader reader = new BarCodeReader("test.png",
DecodeType.PostalTypes))
{
while (reader.Read())
{
Console.WriteLine(reader.GetCodeType().ToString()
+ " " + reader.GetCodeText());
}
}

using (BarCodeReader reader = new BarCodeReader("test.png",
DecodeType.MostCommonTypes))
{
while (reader.Read())
{
Console.WriteLine(reader.GetCodeType().ToString()
+ " " + reader.GetCodeText());
}
}

Other Enhancements made to the API

Other than the addition of decode types, there are a number of other enhancements made to the API in this release. These enhancements are listed below:

  • Barcode reader has been enhanced with improved detection of the following barcodes
    • 3D-distorted barcodes
    • 2D-rotated barcodes
    • CODE39 barcodes
  • WPF control appearance has been improved.
  • GS1 DataBar Expanded Stacked barcode passes the GS1 Canada barcode verification.
  • You can now constrain the region for barcode detection to improve performance.
  • Enhanced MicrE13B for safe bitmap access.

Aspose.BarCode for .NET Resources

You can get started with Aspose.BarCode for .NET by making use of information available in the following: