We are pleased to announce the release of Aspose.Barcode for Java 17.8. Aspose.BarCode versions brefore 17.8, it was not possible to set the barcode bar’s height while generating Postal barcodes like postnet, AustraliaPost etc. The major development in this release is the support to generate the postal barcode with specified height. Functionality to recognize GS1Code128 coded barcode has also been improved in this release.
Postal Barcode Generation With Specific Height
Previous versions of Aspose.BarCode, it was not possible to set the height of bars of Postal barcodes like Postnet, AustraliaPost, Planet, OneCode and RM4SCC. Aspose.Barcode for .NET 17.8 now allows developers to set the bar height. The said functionality is illustrated in the following code sample.
String codeText = "12345678"; // Create an instance of BarCodeBuilder class BarCodeBuilder barCodeBuilder = new BarCodeBuilder(); // Set barcode text barCodeBuilder.setCodeText(codeText); // Set encoding type BaseEncodeType encodeType = EncodeTypes.POSTNET; barCodeBuilder.setEncodeType(encodeType); // Set barcode Dimension and height barCodeBuilder.setxDimension(1f); barCodeBuilder.setBarHeight(40); // Save the barcode image barCodeBuilder.save("postnet.png");
In addition to above, this release also fixes exceptions that were reported by our valued customers. Complete list of enhancements and fixes in this release is as follows.
- Process of GS1Code128 coded barcode recognition has been enhanced. The functionality has been improved in such a way that it now recognize correct type of GS1Code128 coded barcode.
- Process of generating EAN14 barcode has been improved.
- Functionality to recognize DatabarStacked coded barcode has been improved.
- Functionality of yDimension property has been enhanced. It is now working for 2D barcodes e.g. CodablockF.
To view a complete list of new features, fixes and to download the latest release, please visit Aspose.Barcode for Java 17.8 page in downloads section.
Aspose.BarCode for Java Resources
The following API resources can be of help to you in getting started with Aspose.BarCode:
Aspose.BarCode for Java 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 – 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.