HIBCLICComplexCodetext
Source: ComplexBarcode.
Base class for encoding and decoding the text embedded in the HIBC LIC code.
This sample shows how to decode raw HIBC LIC codetext to HIBCLICComplexCodetext instance.let reader = new BarCodeReader("c:\\test.png", null, DecodeType.HIBC_AZTEC_LIC); { reader.readBarCodes().forEach(function(result, i, results) { let resultHIBCLICComplexCodetext = ComplexCodetextReader.tryDecodeHIBCLIC(result.getCodeText()); print("BarCode Type: " + resultMaxiCodeCodetext.getBarcodeType()); print("BarCode CodeText: " + resultMaxiCodeCodetext.getConstructedCodetext()); }); }
new HIBCLICComplexCodetext()
Methods
getBarcodeType()
Gets or sets barcode type. HIBC LIC codetext can be encoded using HIBCCode39LIC, HIBCCode128LIC, HIBCAztecLIC, HIBCDataMatrixLIC and HIBCQRLIC encode types. Default value: HIBCCode39LIC.
- Returns
-
Barcode type.
getConstructedCodetext()
Constructs codetext
- Returns
-
Constructed codetext
initFromString(constructedCodetext)
Initializes instance from constructed codetext.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
constructedCodetext |
|
|
Constructed codetext. |
setBarcodeType()
Gets or sets barcode type. HIBC LIC codetext can be encoded using HIBCCode39LIC, HIBCCode128LIC, HIBCAztecLIC, HIBCDataMatrixLIC and HIBCQRLIC encode types. Default value: HIBCCode39LIC.
- Returns
-
Barcode type.