HIBCLICComplexCodetext

HIBCLICComplexCodetext

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.

Constructor

new HIBCLICComplexCodetext()

Source:
Example
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());
});

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:
Type Description
Barcode type.
Source:

getConstructedCodetext()

Constructs codetext

Returns:
Type Description
Constructed codetext
Source:

initFromString(constructedCodetext)

Initializes instance from constructed codetext.

Parameters:
Name Type Description
constructedCodetext Constructed codetext.
Source:

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:
Type Description
Barcode type.
Source: