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

DataMatrix parameters. More...

Inherits BaseJavaClass.

Public Member Functions

def __init__ (self, javaClass)
 
def init (self)
 
def getDataMatrixEcc (self)
 Gets a Datamatrix ECC type. More...
 
def setDataMatrixEcc (self, value)
 Sets a Datamatrix ECC type. More...
 
def getDataMatrixEncodeMode (self)
 Encode mode of Datamatrix barcode. More...
 
def setDataMatrixEncodeMode (self, value)
 Encode mode of Datamatrix barcode. More...
 
def getMacroCharacters (self)
 ISO/IEC 16022 5.2.4.7 Macro characters 11.3 Protocol for Macro characters in the first position (ECC 200 only) Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. More...
 
def setMacroCharacters (self, value)
 ISO/IEC 16022 5.2.4.7 Macro characters 11.3 Protocol for Macro characters in the first position (ECC 200 only) Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. More...
 
def getColumns (self)
 Columns count. More...
 
def setColumns (self, value)
 Columns count. More...
 
def getRows (self)
 Rows count. More...
 
def setRows (self, value)
 Rows count. More...
 
def getAspectRatio (self)
 Height/Width ratio of 2D BarCode module. More...
 
def setAspectRatio (self, value)
 Height/Width ratio of 2D BarCode module. More...
 
def getCodeTextEncoding (self)
 Gets the encoding of codetext. More...
 
def setCodeTextEncoding (self, value)
 Sets the encoding of codetext. More...
 
def toString (self)
 Returns a human-readable string representation of this DataMatrixParameters. More...
 
- Public Member Functions inherited from BaseJavaClass
def getJavaClass (self)
 
def setJavaClass (self, javaClass)
 
def getJavaClassName (self)
 
def isNull (self)
 
def printJavaClassName (self)
 

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

DataMatrix parameters.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  javaClass 
)

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ getAspectRatio()

def getAspectRatio (   self)

Height/Width ratio of 2D BarCode module.

◆ getCodeTextEncoding()

def getCodeTextEncoding (   self)

Gets the encoding of codetext.

Default value: UTF-16

◆ getColumns()

def getColumns (   self)

Columns count.

◆ getDataMatrixEcc()

def getDataMatrixEcc (   self)

Gets a Datamatrix ECC type.

Default value: DataMatrixEccType.ECC_200.

◆ getDataMatrixEncodeMode()

def getDataMatrixEncodeMode (   self)

Encode mode of Datamatrix barcode.

Default value: DataMatrixEncodeMode.AUTO.

◆ getMacroCharacters()

def getMacroCharacters (   self)

ISO/IEC 16022 5.2.4.7 Macro characters 11.3 Protocol for Macro characters in the first position (ECC 200 only) Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes.

Can be used only with DataMatrixEccType.Ecc200 or DataMatrixEccType.EccAuto. Cannot be used with EncodeTypes.GS_1_DATA_MATRIX Default value: MacroCharacter.NONE.

◆ getRows()

def getRows (   self)

Rows count.

◆ init()

def init (   self)

Reimplemented from BaseJavaClass.

◆ setAspectRatio()

def setAspectRatio (   self,
  value 
)

Height/Width ratio of 2D BarCode module.

◆ setCodeTextEncoding()

def setCodeTextEncoding (   self,
  value 
)

Sets the encoding of codetext.

Default value: UTF-16

◆ setColumns()

def setColumns (   self,
  value 
)

Columns count.

◆ setDataMatrixEcc()

def setDataMatrixEcc (   self,
  value 
)

Sets a Datamatrix ECC type.

Default value: DataMatrixEccType.ECC_200.

◆ setDataMatrixEncodeMode()

def setDataMatrixEncodeMode (   self,
  value 
)

Encode mode of Datamatrix barcode.

Default value: DataMatrixEncodeMode.AUTO.

◆ setMacroCharacters()

def setMacroCharacters (   self,
  value 
)

ISO/IEC 16022 5.2.4.7 Macro characters 11.3 Protocol for Macro characters in the first position (ECC 200 only) Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes.

Can be used only with DataMatrixEccType.Ecc200 or DataMatrixEccType.EccAuto. Cannot be used with EncodeTypes.GS_1_DATA_MATRIX Default value: MacroCharacter.NONE.

◆ setRows()

def setRows (   self,
  value 
)

Rows count.

◆ toString()

def toString (   self)

Returns a human-readable string representation of this DataMatrixParameters.

Returns
presentation of this DataMatrixParameters.