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

Helper class for automatic codetext generation of the Extended Codetext Mode. More...

Inherits _MwWrapper.

Inherited by AztecExtCodetextBuilder, DataMatrixExtCodetextBuilder, DotCodeExtCodetextBuilder, MaxiCodeExtCodetextBuilder, and QrExtCodetextBuilder.

Public Member Functions

None __init__ (self, _java_class)
 
None add_eci_codetext (self, ECIEncodings eci_encoding, str codetext)
 Adds codetext with Extended Channel Identifier. More...
 
None add_plain_codetext (self, str codetext)
 Adds plain codetext to the extended codetext items. More...
 
None clear (self)
 Clears extended codetext items. More...
 
Optional[str] extended_codetext (self)
 Generates extended codetext from the generation items list. More...
 

Detailed Description

Helper class for automatic codetext generation of the Extended Codetext Mode.

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self,
  _java_class 
)

Member Function Documentation

◆ add_eci_codetext()

None add_eci_codetext (   self,
ECIEncodings  eci_encoding,
str  codetext 
)

Adds codetext with Extended Channel Identifier.

Args: eci_encoding (ECIEncodings): Extended Channel Identifier. codetext (str): Codetext in unicode to add as an extended codetext item with Extended Channel Identifier.

◆ add_plain_codetext()

None add_plain_codetext (   self,
str  codetext 
)

Adds plain codetext to the extended codetext items.

Args: codetext (str): Codetext in unicode to add as an extended codetext item.

◆ clear()

None clear (   self)

Clears extended codetext items.

◆ extended_codetext()

Optional[str] extended_codetext (   self)

Generates extended codetext from the generation items list.

Returns: Optional[str]: The generated extended codetext string, or None if not set.

Reimplemented in QrExtCodetextBuilder, MaxiCodeExtCodetextBuilder, DotCodeExtCodetextBuilder, DataMatrixExtCodetextBuilder, and AztecExtCodetextBuilder.