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 in 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:
- Homepage for Aspose.BarCode for Java
- Download Aspose.BarCode for Java – Install Aspose.BarCode for Java from Maven
- Aspose.BarCode for Java docs – help documentation and API reference documents.
- Aspose.BarCode Product Family Forum – post your technical questions and queries, or any other problem you faced while running Aspose.BarCode APIs.
- Enable Email Subscription – Don’t limit yourself, you can keep yourself updated with the latest news on Aspose.BarCode APIs and new features, fixes, plus other API related topics by subscribing to Aspose.BarCode blog.
- Aspose.BarCode for Java Examples – We have published our code examples on the social coding website GitHub.com. Anyone could explore the code examples for learning purposes.