We are pleased to announce the release of Aspose.Barcode for .NET 18.10. This micro 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 .NET 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 barCodeReader = new BarCodeReader(); barCodeReader.SetBarCodeImage(new Bitmap("BarCode1.bmp")); barCodeReader.SetBarCodeReadType(DecodeType.AllSupportedTypes); while (barCodeReader.Read()) { Console.WriteLine("BarCode Type: " + barCodeReader.GetCodeType()); Console.WriteLine("BarCode CodeText: " + barCodeReader.GetCodeText()); } barCodeReader.SetBarCodeImage(new Bitmap("BarCode2.bmp")); while (barCodeReader.Read()) { Console.WriteLine("BarCode Type: " + barCodeReader.GetCodeType()); Console.WriteLine("BarCode CodeText: " + barCodeReader.GetCodeText()); } barCodeReader.Close();
Aspose.BarCode for .NET Resources
You can get started with Aspose.BarCode for .NET by making use of information available in the following:
- Homepage for Aspose.BarCode for .NET API
- Download Aspose.BarCode for .NET
- Aspose.BarCode for .NET Wiki 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 – You can keep yourself updated with the latest news on Aspose.BarCode APIs, new features, fixes and other API related topics by subscribing to Aspose.BarCode blog.
- Aspose.BarCode for .NET Examples – We have published our code examples on the social coding website GitHub.com. You can explore the code examples for learning purposes.