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

Extended codetext generator for Aztec barcodes for ExtendedCodetext Mode of AztecEncodeMode Use TwoDDisplayText property of BarcodeGenerator to set visible text to removing managing characters. More...

Inherits ExtCodetextBuilder.

Public Member Functions

None __init__ (self)
 
str getExtendedCodetext (self)
 Generates Extended codetext from the extended codetext list. More...
 
None init (self)
 
- Public Member Functions inherited from ExtCodetextBuilder
None __init__ (self, javaClass)
 
None addECICodetext (self, ECIEncodings ECIEncoding, str codetext)
 Adds codetext with Extended Channel Identifier. More...
 
None addPlainCodetext (self, str codetext)
 Adds plain codetext to the extended codetext items. More...
 
None clear (self)
 Clears extended codetext items. More...
 
- Public Member Functions inherited from BaseJavaClass
def getJavaClass (self)
 
str getJavaClassName (self)
 
bool isNull (self)
 
None printJavaClassName (self)
 
None setJavaClass (self, javaClass)
 

Static Public Attributes

string JAVA_CLASS_NAME = "com.aspose.mw.barcode.generation.MwAztecExtCodetextBuilder"
 

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

Extended codetext generator for Aztec barcodes for ExtendedCodetext Mode of AztecEncodeMode Use TwoDDisplayText property of BarcodeGenerator to set visible text to removing managing characters.

This sample shows how to use AztecExtCodetextBuilder in Extended Mode.

# create codetext
textBuilder = Generation.AztecExtCodetextBuilder()
textBuilder.addECICodetext(Generation.ECIEncodings.Win1251, "Will")
textBuilder.addECICodetext(Generation.ECIEncodings.UTF8, "犬Right狗")
textBuilder.addECICodetext(Generation.ECIEncodings.UTF16BE, "犬Power狗")
textBuilder.addPlainCodetext("Plain text")
# generate codetext
codetext = textBuilder.getExtendedCodetext()
# generate
generator = Generation.BarcodeGenerator(Generation.EncodeTypes.AZTEC, codetext)
generator.getParameters().getBarcode().getCodeTextParameters().setTwoDDisplayText("My Text")
generator.save(self.image_path_to_save5, Generation.BarCodeImageFormat.BMP)

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self)

Member Function Documentation

◆ getExtendedCodetext()

str getExtendedCodetext (   self)

Generates Extended codetext from the extended codetext list.

Returns
: Extended codetext as string

Reimplemented from ExtCodetextBuilder.

◆ init()

None init (   self)

Reimplemented from ExtCodetextBuilder.

Member Data Documentation

◆ JAVA_CLASS_NAME

string JAVA_CLASS_NAME = "com.aspose.mw.barcode.generation.MwAztecExtCodetextBuilder"
static