HIBCPASCodetext

HIBCPASCodetext class

Module: aspose_barcode.complex_barcode.hibc_pas_codetext

Inherits: IComplexCodetext

Class for encoding and decoding the text embedded in the HIBC PAS code. This sample shows how to encode and decode HIBC PAS using HIBCPASCodetext.

Constructors

NameDescription
init

Methods

NameReturn TypeStaticDescription
eqboolNoReturns a value indicating whether this instance is equal to a specified HIBCPASCodetext value.
hashintNoReturns the hash code for the current instance.
add_hibc_pas_recordNoneNoAdds new record.
add_recordNoneNoAdds new record.
clearNoneNoClears records list.
constructed_codetextOptional[str]NoConstructs codetext.
init_from_stringNoneNoInitializes instance from constructed codetext.
recordsList[HIBCPASRecord]NoGets records list.

Properties

NameTypeDescription
barcode_typeEncodeTypesReimplemented from IComplexCodetext.
data_locationHIBCPASDataLocationIdentifies data location.

HIBCPASCodetext Constructor

__init__(self)

HIBCPASCodetext.eq

__eq__(self, HIBCPASCodetext other) -> bool

Returns a value indicating whether this instance is equal to a specified HIBCPASCodetext value.

ParameterTypeDescription
otherHIBCPASCodetext

Return Type: bool — True if obj has the same value as this instance; otherwise, False.

HIBCPASCodetext.hash

__hash__(self) -> int

Returns the hash code for the current instance.

Return Type: int — A hash code for the current object.

HIBCPASCodetext.add_hibc_pas_record

add_hibc_pas_record(self, HIBCPASRecord record)

Adds new record.

ParameterTypeDescription
recordHIBCPASRecord

HIBCPASCodetext.add_record

add_record(self, HIBCPASDataType data_type, str data)

Adds new record.

ParameterTypeDescription
data_typeHIBCPASDataType
datastr

HIBCPASCodetext.clear

clear(self)

Clears records list.

HIBCPASCodetext.constructed_codetext

constructed_codetext(self) -> Optional[str]

Constructs codetext.

Return Type: Optional[str] — Constructed codetext.

HIBCPASCodetext.init_from_string

init_from_string(self, str constructed_codetext)

Initializes instance from constructed codetext.

ParameterTypeDescription
constructed_codetextstr

HIBCPASCodetext.records

records(self) -> List[HIBCPASRecord]

Gets records list.

Return Type: List[HIBCPASRecord] — List of records

HIBCPASCodetext.barcode_type

Type: EncodeTypes

Reimplemented from IComplexCodetext.

ParameterTypeDescription
valueEncodeTypes

HIBCPASCodetext.data_location

Type: HIBCPASDataLocation

Identifies data location.

Identifies data location.

ParameterTypeDescription
valueHIBCPASDataLocation