HIBCLICComplexCodetext

HIBCLICComplexCodetext class

Base class for encoding and decoding the text embedded in the HIBC LIC code.

public class HIBCLICComplexCodetext : IComplexCodetext

Constructors

NameDescription
HIBCLICComplexCodetext(object)Initializes a new instance of the HIBCLICComplexCodetext class.

Methods

NameDescription
getBarcodeTypeGets or sets barcode type. HIBC LIC codetext can be encoded using HIBCCode39LIC, HIBCCode128LIC, HIBCAztecLIC, HIBCDataMatrixLIC and HIBCQRLIC encode types. Default value: HIBCCode39LIC.
getConstructedCodetextConstructs codetext.
initFromString(object)Initializes instance from constructed codetext.
setBarcodeType(object)Gets or sets barcode type. HIBC LIC codetext can be encoded using HIBCCode39LIC, HIBCCode128LIC, HIBCAztecLIC, HIBCDataMatrixLIC and HIBCQRLIC encode types. Default value: HIBCCode39LIC.

Examples

let reader = new BarCodeReader("c:\\test.png", null, DecodeType.HIBC_AZTEC_LIC);
let results = reader.readBarCodes();
for(let i = 0; i < results.length; i++)
{
let result = results[i];
let resultHIBCLICComplexCodetext = ComplexCodetextReader.tryDecodeHIBCLIC(result.getCodeText());
print("BarCode Type: " + resultMaxiCodeCodetext.getBarcodeType());
print("BarCode CodeText: " + resultMaxiCodeCodetext.getConstructedCodetext());
}

See Also