Generate Barcode with Desired Barcode Size using New Enhanced Barcode Generation Java API
Added: (Fri Aug 31 2018)
Pressbox (Press Release) -
What's New in this Release?
Aspose team is pleased to announce the new release of Aspose.BarCode for Java 18.7. This new version of the API introduces a more powerful API for BarCode generation. It gives users more power for generating BarCodes with desired information. Starting from Aspose.Barcode for Java 18.7, this release introduces a new BarCode generation API. The new API, represented by BarcodeGenerator class, is simple but powerful enough to give maximum control over Barcode generation as per requirements. With this enhanced API as compared to previous version of API i.e. BarcodeBuilder, you can generate and work with barcodes in more flexible ways. The new Barcode generation API, BarcodeGenerator, will replace the older BarcodeBuilder with subsequent versions. Salient features of this new Barcode generation includes
Generation of Barcode with Restricted Barcode Size If users have restricted requirements of barcode size, then users can set AutoSizeMode to Nearest and required barcode size. Barcode generator will calculate all other parameters like xDimension, AspectRatio, etc to fit barcode into desired size.
Generating Barcode without Restricted Barcode Size if users dont have required size of Barcode to be generated, Users can set AutoSizeMode to None and set all generator parameters by yourself
Getting Generated Barcode Size if you just want to know the barcode size without saving image you can call method RecalculateValues() and get barcode size
Units based Barcode Generation All measurement values can be got and set in pixels, millimeters, inches in the same time. You can easily change the resolution of image and prepare the same barcode for printing, LCD screens or retina-displays.
Grouping Properties by Barcode Type Properties for specific barcode types are grouped. Such specific properties like QR_EncodeType of DataMatrix_Ecc are grouped by type to simplify all the API for new users.
Getting Default Text for Generated Barcode GeBarCodeGenearator has predefined default codetext, so you can just explore the default codetext format for the specific type.
Newly added documentation pages and articles
Some new tips and articles have now been added into Aspose.BarCode for Java documentation that may guide users briefly how to use Aspose.BarCode for performing different tasks like the followings.
- Generating Barcode with Restricted Barcode Size: https://docs.aspose.com/display/barcodejava/Generating+BarCode+using+New+BarCode+Generation+API#GeneratingBarCodeusingNewBarCodeGenerationAPI-GeneratingBarcodewithRestrictedBarcodeSize
- Units based BarCode Generation: https://docs.aspose.com/display/barcodejava/Generating+BarCode+using+New+BarCode+Generation+API#GeneratingBarCodeusingNewBarCodeGenerationAPI-UnitsbasedBarCodeGeneration
Overview: Aspose.BarCode for Java
Aspose.BarCode is a Java based visual component for generation & recognition of 1D & 2D barcodes to support Java, web applications and J2ME platform. It supports 29+ barcode symbologies like MSI, QR, OneCode, Australia Post, Aztec, Code128, Code11, EAN128, Codabar, Postnet, USPS and also supports image output in GIF, PNG, BMP & JPG formats. Other features include barcode size & color settings, rotation angle & caption. You can render barcodes to images, printers, HTTP servlet response & graphical objects too.
More about Aspose.BarCode for Java
- Homepage of Aspose.BarCode for Java: https://products.aspose.com/barcode/java
- Download Aspose.BarCode for Java: https://downloads.aspose.com/barcode/java
- Online documentation of Aspose.BarCode for Java: https://docs.aspose.com/display/barcodejava/Home
Aspose Pty Ltd
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066