aspose.barcode 23.12.0 → 24.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ const joint_ = require('./Joint');
4
4
  const complexbarcode_ = require("./ComplexBarcode");
5
5
  const generation_ = require("./Generation");
6
6
  const recognition_ = require("./Recognition");
7
- const jar_name_ = "/aspose-barcode-nodejs-23.12.jar";
7
+ const jar_name_ = "/aspose-barcode-nodejs-24.1.jar";
8
8
  const jar_path_ = __dirname + jar_name_;
9
9
  const fs = require("fs");
10
10
 
@@ -2588,11 +2588,35 @@ class HIBCLICPrimaryDataCodetext extends HIBCLICComplexCodetext
2588
2588
  }
2589
2589
  }
2590
2590
 
2591
-
2592
2591
  /**
2593
- * <p>
2594
2592
  * Class for encoding and decoding the text embedded in the HIBC LIC code which stores seconday data.
2595
- * </p>
2593
+ * @example
2594
+ * This sample shows how to encode and decode HIBC LIC using HIBCLICSecondaryAndAdditionalDataCodetext.
2595
+ *
2596
+ * @code
2597
+ * let complexCodetext = new HIBCLICSecondaryAndAdditionalDataCodetext();
2598
+ * complexCodetext.setBarcodeType(EncodeTypes.HIBCQRLIC);
2599
+ * complexCodetext.setLinkCharacter('L');
2600
+ * complexCodetext.setData(new SecondaryAndAdditionalData());
2601
+ * complexCodetext.getData().setExpiryDate(new Date());
2602
+ * complexCodetext.getData().setExpiryDateFormat(HIBCLICDateFormat.MMDDYY);
2603
+ * complexCodetext.getData().setQuantity(30);
2604
+ * complexCodetext.getData().setLotNumber("LOT123");
2605
+ * complexCodetext.getData().setSerialNumber("SERIAL123");
2606
+ * complexCodetext.getData().setDateOfManufacture(new Date());
2607
+ * let generator = new ComplexBarcodeGenerator(complexCodetext);
2608
+ * let image = generator.generateBarCodeImage(BarcodeImageFormat.PNG);
2609
+ * let reader = new BarCodeReader(image, null, DecodeType.HIBCQRLIC);
2610
+ * reader.readBarCodes();
2611
+ * codetext = reader.getFoundBarCodes()[0].getCodeText();
2612
+ * result = ComplexCodetextReader.tryDecodeHIBCLIC(codetext);
2613
+ * print("Expiry date: " + result.getData().getExpiryDate());
2614
+ * print("Quantity: " + result.getData().getQuantity());
2615
+ * print("Lot number: " + result.getData().getLotNumber());
2616
+ * print("Serial number: " + result.getData().getSerialNumber());
2617
+ * print("Date of manufacture: " + result.getData().getDateOfManufacture());
2618
+ * </code>
2619
+ * </example>
2596
2620
  */
2597
2621
  class HIBCLICSecondaryAndAdditionalDataCodetext extends HIBCLICComplexCodetext
2598
2622
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aspose.barcode",
3
- "version": "23.12.0",
3
+ "version": "24.1.0",
4
4
  "description": "barcode generation and recognition component",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"