Aspose.Barcode for Python via Java Generation and Recognition API docs
HIBCLICComplexCodetext Class Reference

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

Inherits IComplexCodetext.

Inherited by HIBCLICCombinedCodetext, HIBCLICPrimaryDataCodetext, and HIBCLICSecondaryAndAdditionalDataCodetext.

Public Member Functions

None __init__ (self, javaClass)
 
Generation.EncodeTypes getBarcodeType (self)
 Gets barcode type. More...
 
str getConstructedCodetext (self)
 Constructs codetext. More...
 
None initFromString (self, str constructedCodetext)
 Initializes instance from constructed codetext. More...
 
None setBarcodeType (self, Generation.EncodeTypes value)
 Sets barcode type. More...
 
- Public Member Functions inherited from BaseJavaClass
def getJavaClass (self)
 
str getJavaClassName (self)
 
None init (self)
 
bool isNull (self)
 
None printJavaClassName (self)
 
None setJavaClass (self, javaClass)
 

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

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.

reader = Recognition.BarCodeReader(imagePath, None, DecodeType.HIBC_AZTEC_LIC)
for result in reader.readBarCodes():
resultHIBCLICComplexCodetext = ComplexCodetextReader.tryDecodeHIBCLIC(result.getCodeText())
print("BarCode Type: " + resultHIBCLICComplexCodetext.getBarcodeType())
print("BarCode CodeText: " + resultHIBCLICComplexCodetext.getConstructedCodetext())

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self,
  javaClass 
)

Reimplemented from IComplexCodetext.

Member Function Documentation

◆ getBarcodeType()

Generation.EncodeTypes getBarcodeType (   self)

Gets barcode type.

HIBC LIC codetext can be encoded using HIBCCode39LIC, HIBCCode128LIC, HIBCAztecLIC, HIBCDataMatrixLIC and HIBCQRLIC encode types. Default value: HIBCCode39LIC.

Returns
:Barcode type.

Reimplemented from IComplexCodetext.

◆ getConstructedCodetext()

str getConstructedCodetext (   self)

Constructs codetext.

Returns
:Constructed codetext

Reimplemented from IComplexCodetext.

Reimplemented in HIBCLICSecondaryAndAdditionalDataCodetext, HIBCLICPrimaryDataCodetext, and HIBCLICCombinedCodetext.

◆ initFromString()

None initFromString (   self,
str  constructedCodetext 
)

Initializes instance from constructed codetext.

Parameters
constructedCodetext:Constructed codetext.

Reimplemented from IComplexCodetext.

Reimplemented in HIBCLICSecondaryAndAdditionalDataCodetext, HIBCLICPrimaryDataCodetext, and HIBCLICCombinedCodetext.

◆ setBarcodeType()

None setBarcodeType (   self,
Generation.EncodeTypes  value 
)

Sets barcode type.

HIBC LIC codetext can be encoded using HIBCCode39LIC, HIBCCode128LIC, HIBCAztecLIC, HIBCDataMatrixLIC and HIBCQRLIC encode types. Default value: HIBCCode39LIC.

Returns
:Barcode type.