Browse our Products

Aspose.BarCode for Java 26.2 Release Notes

All Changes

KeySummaryCategory
BARCODENET-38024Remove EnableEscape propertyEnhancement
BARCODENET-39421Expose BarCodeReader.GetBarCodeDecodeType() as public methodEnhancement

Public API changes and New Features

The EnableEscape functionality has been deprecated and is no longer applied internally by BarcodeGenerator. Escape sequence processing is not performed automatically. If required, escape sequences should be handled explicitly before passing the text to the generator.

For example:

String rawText = "Line1\\nLine2\\tValue";

// Optional: perform unescaping if the text contains escaped sequences
String barcodeText = rawText.replace("\\n", "\n").replace("\\t", "\t");

BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.CODE_128, barcodeText);

gen.save("c:\\code128.png", BarCodeImageFormat.PNG);

BarCodeReadType getter update

The getBarCodeReadType() method has been added to BarCodeReader, allowing you to retrieve the barcode decode types used for recognition.

The previously available getBarCodeDecodeType() method has been removed.

Added

getBarCodeReadType():BaseDecodeType

Removed

getBarCodeDecodeType():BaseDecodeType