Browse our Products

Aspose.BarCode for Java 18.1 - Release Notes

KeySummaryCategory
BARCODENET-36647Add support to save barcode in SVGFeature
BARCODENET-34191Add support to save barcode in any Vector image formatFeature
BARCODENET-36783Support to generate and recognize EPC QR coded barcodeFeature
BARCODENET-36753Improved drawing text when font is specifiedEnhancement
BARCODENET-36755Mark BarCodeReader API as obsoleteEnhancement
BARCODENET-36760Barcode is rendered without textBug
BARCODENET-36750Incorrectly saving a picture to a fileBug
BARCODENET-36738Property CodeLocation works incorrectlyBug

Public API and Backward Incompatible Changes

This section lists public API changes that were introduced in Aspose.BarCode for Java 18.1. It includes not only new and obsoleted public methods, but also a description of any changes in the behavior behind the scenes in Aspose.BarCode for Java which may affect existing code. Any behavior introduced that could be seen as a regression and modifies existing behavior is especially important and is documented here.

Added APIs

TypeDetailsRemarks
 Field/EnumNew public value Svg has been added to BarCodeImageFormat emun. It allows to save barcode inScalable Vector Graphics (SVG) format. Evaluation version of Aspose.BarCode allows Code39 barcodes symbology to be saved into SVG format.
Code sample:

string codeText = @“ABCDEFGHIJKLMNOPQRSTUVWXYZ”;

using (BarCodeBuilder builder = new BarCodeBuilder(codeText, EncodeTypes.Code128))

{

    builder.Save(“code128.svg”, BarCodeImageFormat.Svg);

}

Obsolete APIs

Following APIs are marked as obsolete. Do not use them anymore. Barcode orientation is detected automatically.

TypeDetails
Classcom.aspose.barCode.barCoderecognition.RecognitionHints
enumcom.aspose.barCode.barCoderecognition.RecognitionHints.Orientation
propertycom.aspose.barCode.barCoderecognition.BarCodeReader.getOrientationHints()
Propertycom.aspose.barCode.barCoderecognition.BarCodeReader.getExpectedBarCodeCount()
(Do not use it anymore. ExpectedBarCodeCount does not have any influence on recognition speed)
Methodcom.aspose.barCode.barCoderecognition.BarCodeReader.getAllPossibleBarCodes
(Use property BarCodeReader.setRecognitionMode(RecognitionMode.MaxBarCodes) and check method BarCodeReader.getIsDeniable() while reading barcode.