Aspose.BarCode for .NET 8.2.1 Release Notes

Features and Improvements

Key Summary Category
BARCODENET-36302 Aspose.Barcode is returning unwanted barcodes when try to read barcode from image Enhancement
BARCODENET-36310 Aspose.BarCode is not recognizing correct DataMatix coded barcode Enhancement
BARCODENET-36316 Exclude unwanted code128 Enhancement

Usage examples:

BARCODENET-36302 Aspose.Barcode is returning unwanted barcodes when try to read barcode from image Code sample

 BarCodeReader reader = new BarCodeReader(@"00000010_00000003_2.tif");

int counter = 0;

while (reader.Read())

{

	counter++;

	Console.WriteLine(" -- Symbol:" + reader.GetCodeType() + " Code :" + reader.GetCodeText());

}

reader.Close();

Console.WriteLine(counter.ToString());

Result:

 Symbol:DataMatrix Code :AZ000000199139

BARCODENET-36310 Aspose.BarCode is not recognizing correct DataMatix coded barcode Code sample:

 string filename = @"00000001F.tif";

using (BarCodeReader reader = new BarCodeReader(filename, DecodeType.DataMatrix))

{

	while (reader.Read())

	{

		Console.WriteLine(reader.GetReadType() + ": " + reader.GetCodeText());

	}

}

Result:

 DataMatrix: DMapp1of3

DataMatrix: DI011416000001

DataMatrix: 0120000000

DataMatrix: DI011416000001

DataMatrix: DMapp1of3