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

DataMatrix parameters. More...

Inherits asposebarcode.Assist.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 asposebarcode.Assist.BaseJavaClass
def getJavaClass (self)
 
def setJavaClass (self, javaClass)
 
def getJavaClassName (self)
 
def isNull (self)
 
def printJavaClassName (self)
 

Additional Inherited Members

- Public Attributes inherited from asposebarcode.Assist.BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

DataMatrix parameters.

Constructor & Destructor Documentation

◆ __init__()

def asposebarcode.Generation.DataMatrixParameters.__init__ (   self,
  javaClass 
)

Member Function Documentation

◆ getAspectRatio()

def asposebarcode.Generation.DataMatrixParameters.getAspectRatio (   self)

Height/Width ratio of 2D BarCode module.

◆ getCodeTextEncoding()

def asposebarcode.Generation.DataMatrixParameters.getCodeTextEncoding (   self)

Gets the encoding of codetext.

Default value: UTF-16

◆ getColumns()

def asposebarcode.Generation.DataMatrixParameters.getColumns (   self)

Columns count.

◆ getDataMatrixEcc()

def asposebarcode.Generation.DataMatrixParameters.getDataMatrixEcc (   self)

Gets a Datamatrix ECC type.

Default value: DataMatrixEccType.ECC_200.

◆ getDataMatrixEncodeMode()

def asposebarcode.Generation.DataMatrixParameters.getDataMatrixEncodeMode (   self)

Encode mode of Datamatrix barcode.

Default value: DataMatrixEncodeMode.AUTO.

◆ getMacroCharacters()

def asposebarcode.Generation.DataMatrixParameters.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 asposebarcode.Generation.DataMatrixParameters.getRows (   self)

Rows count.

◆ init()

def asposebarcode.Generation.DataMatrixParameters.init (   self)

◆ setAspectRatio()

def asposebarcode.Generation.DataMatrixParameters.setAspectRatio (   self,
  value 
)

Height/Width ratio of 2D BarCode module.

◆ setCodeTextEncoding()

def asposebarcode.Generation.DataMatrixParameters.setCodeTextEncoding (   self,
  value 
)

Sets the encoding of codetext.

Default value: UTF-16

◆ setColumns()

def asposebarcode.Generation.DataMatrixParameters.setColumns (   self,
  value 
)

Columns count.

◆ setDataMatrixEcc()

def asposebarcode.Generation.DataMatrixParameters.setDataMatrixEcc (   self,
  value 
)

Sets a Datamatrix ECC type.

Default value: DataMatrixEccType.ECC_200.

◆ setDataMatrixEncodeMode()

def asposebarcode.Generation.DataMatrixParameters.setDataMatrixEncodeMode (   self,
  value 
)

Encode mode of Datamatrix barcode.

Default value: DataMatrixEncodeMode.AUTO.

◆ setMacroCharacters()

def asposebarcode.Generation.DataMatrixParameters.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 asposebarcode.Generation.DataMatrixParameters.setRows (   self,
  value 
)

Rows count.

◆ toString()

def asposebarcode.Generation.DataMatrixParameters.toString (   self)

Returns a human-readable string representation of this DataMatrixParameters.

Returns
presentation of this DataMatrixParameters.