Aspose.BarCode for Java 18.10.1

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

We are pleased to announce the release of Aspose.BarCode for Java 18.10.1. This release addresses the instance reusability issue of the BarCodeReader. For a detailed note on what is new and fixed, please visit the release notes page for information of API documentation.

Enhancements made to the BarCodeReader

Before this release, if you wanted to scan two Barcodes, you had to create a new instance of the BarCodeReader to scan the second Barcode. This release of Aspose.Barcode for Java addresses that issue. Now you can scan multiple Barcodes using the same instance of the BarCodeReader. This is demonstrated using a simple example given below.

BarCodeReader reader = new BarCodeReader();
reader.setBarCodeReadType(DecodeType.ALL_SUPPORTED_TYPES);
reader.setBarCodeImage("Barcode1.jpg");
while (reader.read())
{
System.out.println("Barcode 1: " + reader.getCodeText());
}
reader.setBarCodeImage("Barcode2.png");
while (reader.read())
{
System.out.println("Barcode 2: " + reader.getCodeText());
}
reader.close();

Aspose.BarCode for Java Resources

The following API resources can be of help to you in getting started with Aspose.BarCode:


To keep up with our news, you can follow us on Twitter or follow our Facebook page.