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

Extended codetext generator for MaxiCode barcodes for ExtendedCodetext Mode of MaxiCodeEncodeMode 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.MwMaxiCodeExtCodetextBuilder"
 

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

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

This sample shows how to use MaxiCodeExtCodetextBuilder in Extended Mode.

# create codetext
textBuilder = Generation.MaxiCodeExtCodetextBuilder()
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.MAXI_CODE, 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.MwMaxiCodeExtCodetextBuilder"
static