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

Class for encoding and decoding MaxiCode codetext for modes 4, 5 and 6. More...

Inherits MaxiCodeCodetext.

Public Member Functions

None __init__ (self)
 
bool equals (self, MaxiCodeStandardCodetext obj)
 Returns a value indicating whether this instance is equal to a specified MaxiCodeStandardCodetext value. More...
 
str getConstructedCodetext (self)
 Constructs codetext. More...
 
int getHashCode (self)
 Returns the hash code for this instance. More...
 
str getMessage (self)
 Gets message. More...
 
Generation.MaxiCodeMode getMode (self)
 Gets MaxiCode mode. More...
 
None init (self)
 
None initFromString (self, str constructedCodetext)
 Initializes instance from constructed codetext. More...
 
None setMessage (self, str value)
 Sets message. More...
 
None setMode (self, Generation.MaxiCodeMode mode)
 Sets MaxiCode mode. More...
 
- Public Member Functions inherited from MaxiCodeCodetext
int getBarcodeType (self)
 Gets barcode type. More...
 
int getECIEncoding (self)
 Gets ECI encoding. More...
 
Generation.MaxiCodeEncodeMode getMaxiCodeEncodeMode (self)
 Gets a MaxiCode encode mode. More...
 
None setECIEncoding (self, int value)
 Sets ECI encoding. More...
 
None setMaxiCodeEncodeMode (self, Generation.MaxiCodeEncodeMode value)
 Sets a MaxiCode encode mode. More...
 
- Public Member Functions inherited from IComplexCodetext
def __init__ (self, javaClass)
 
- Public Member Functions inherited from BaseJavaClass
def getJavaClass (self)
 
str getJavaClassName (self)
 
bool isNull (self)
 
None printJavaClassName (self)
 
None setJavaClass (self, javaClass)
 

Static Public Member Functions

MaxiCodeStandardCodetext construct (javaClass)
 

Static Public Attributes

string JAVA_CLASS_NAME = "com.aspose.mw.barcode.complexbarcode.MwMaxiCodeStandardCodetext"
 

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

Class for encoding and decoding MaxiCode codetext for modes 4, 5 and 6.

Mode 4

maxiCodeCodetext = MaxiCodeStandardCodetext()
maxiCodeCodetext.setMode(MaxiCodeMode.MODE_4)
maxiCodeCodetext.setMessage("Test message")
complexGenerator = ComplexBarcodeGenerator(maxiCodeCodetext)
complexGenerator.generateBarCodeImage()
# Mode 5
maxiCodeCodetext = MaxiCodeStandardCodetext()
maxiCodeCodetext.setMode(MaxiCodeMode.MODE_5)
maxiCodeCodetext.setMessage("Test message")
complexGenerator = ComplexBarcodeGenerator(maxiCodeCodetext)
complexGenerator.generateBarCodeImage()
# Mode 6
maxiCodeCodetext = MaxiCodeStandardCodetext()
maxiCodeCodetext.setMode(MaxiCodeMode.MODE_6)
maxiCodeCodetext.setMessage("Test message")
complexGenerator = ComplexBarcodeGenerator(maxiCodeCodetext)
complexGenerator.generateBarCodeImage()

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self)

Member Function Documentation

◆ construct()

MaxiCodeStandardCodetext construct (   javaClass)
static

◆ equals()

bool equals (   self,
MaxiCodeStandardCodetext  obj 
)

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

Parameters
obj:An MaxiCodeStandardCodetext value to compare to this instance.
Returns
: True if obj has the same value as this instance; otherwise, False.

◆ getConstructedCodetext()

str getConstructedCodetext (   self)

Constructs codetext.

Returns
:Constructed codetext

Reimplemented from IComplexCodetext.

◆ getHashCode()

int getHashCode (   self)

Returns the hash code for this instance.

Returns
:A 32-bit signed integer hash code.

◆ getMessage()

str getMessage (   self)

Gets message.

◆ getMode()

Generation.MaxiCodeMode getMode (   self)

Gets MaxiCode mode.

Returns
:MaxiCode mode

Reimplemented from MaxiCodeCodetext.

◆ init()

None init (   self)

Reimplemented from BaseJavaClass.

◆ initFromString()

None initFromString (   self,
str  constructedCodetext 
)

Initializes instance from constructed codetext.

Parameters
constructedCodetext:Constructed codetext.

Reimplemented from IComplexCodetext.

◆ setMessage()

None setMessage (   self,
str  value 
)

Sets message.

◆ setMode()

None setMode (   self,
Generation.MaxiCodeMode  mode 
)

Sets MaxiCode mode.

Standart codetext can be used only with modes 4, 5 and 6.

Member Data Documentation

◆ JAVA_CLASS_NAME

string JAVA_CLASS_NAME = "com.aspose.mw.barcode.complexbarcode.MwMaxiCodeStandardCodetext"
static