Class HIBCLICComplexCodetext
java.lang.Object
com.aspose.barcode.complexbarcode.HIBCLICComplexCodetext
- All Implemented Interfaces:
IComplexCodetext
- Direct Known Subclasses:
HIBCLICCombinedCodetext,HIBCLICPrimaryDataCodetext,HIBCLICSecondaryAndAdditionalDataCodetext
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.BarCodeReader reader = new BarCodeReader("c:\\test.png", DecodeType.HIBC_AZTEC_LIC); for(BarCodeResult result : reader.readBarCodes()) { HIBCLICComplexCodetext resultHIBCLICComplexCodetext = ComplexCodetextReader.tryDecodeHIBCLIC(result.getCodeText()); System.out.println("BarCode Type: " + resultMaxiCodeCodetext.getBarcodeType()); System.out.println("BarCode CodeText: " + resultMaxiCodeCodetext.getConstructedCodetext()); }
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets or sets barcode type.abstract StringConstructs codetextabstract voidinitFromString(String constructedCodetext) Initializes instance from constructed codetext.voidsetBarcodeType(BaseEncodeType value) Gets or sets barcode type.
-
Constructor Details
-
HIBCLICComplexCodetext
public HIBCLICComplexCodetext()
-
-
Method Details
-
getConstructedCodetext
Constructs codetext
- Specified by:
getConstructedCodetextin interfaceIComplexCodetext- Returns:
- Constructed codetext
-
initFromString
Initializes instance from constructed codetext.
- Specified by:
initFromStringin interfaceIComplexCodetext- Parameters:
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.
-
getBarcodeType
Gets or sets barcode type. HIBC LIC codetext can be encoded using HIBCCode39LIC, HIBCCode128LIC, HIBCAztecLIC, HIBCDataMatrixLIC and HIBCQRLIC encode types. Default value: HIBCCode39LIC.
- Specified by:
getBarcodeTypein interfaceIComplexCodetext- Returns:
- Barcode type.
-