Aspose.BarCode for Node.js via Java 20.10

All Changes

Key Summary Category
BARCODENET-37595 Implement BarWidthReduction parameter for barcode generation Enhancement
BARCODENET-37640 Improve BarWidthReduction parameter usability for 2D barcodes Enhancement
BARCODENET-37637 Issue with DataMatrix encoding Bug

Public API and Backward Incompatible Changes

  • Added function Generator.BarcodeParameters.setBarWidthReduction(Unit)
  • Added function Generator.BarcodeParameters.getBarWidthReduction():Unit

Usage Examples

    let gen = new BarcodeGenerator(EncodeTypes.UPCA, "112345678);
    gen.getParameters().getBarcode().getBarWidthReduction().setPixels(2);
    let barcodeImageBase64 = gen.generateBarcodeImage("PNG");