HIBCLICComplexCodetext
Contents
[
Hide
]HIBCLICComplexCodetext class
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.
new HIBCLICComplexCodetext()
Example:
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());
}
Methods
| Name | Description |
|---|---|
| getBarcodeType() | Gets or sets barcode type. HIBC LIC codetext can be encoded using HIBCCode39LIC, HIBCCode128LIC, HIBCAztecLIC, HIBCDataM |
| getConstructedCodetext() | Constructs codetext |
| initFromString(constructedCodetext) | Initializes instance from constructed codetext. |
| setBarcodeType() | Gets or sets barcode type. HIBC LIC codetext can be encoded using HIBCCode39LIC, HIBCCode128LIC, HIBCAztecLIC, HIBCDataM |
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 | 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.