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

Stores special data of Code128 recognized barcode. More...

Inherits asposebarcode.Assist.BaseJavaClass.

Public Member Functions

def __init__ (self, javaClass)
 
def init (self)
 
def convertCode128DataPortions (javaCode128DataPortions)
 
def getCode128DataPortions (self)
 Gets Code128DataPortion array of recognized Code128 barcode Value of the Code128DataPortion. More...
 
def isEmpty (self)
 
def equals (self, obj)
 Returns a value indicating whether this instance is equal to a specified Code128ExtendedParameters value. More...
 
def hashCode (self)
 Returns the hash code for this instance. More...
 
def toString (self)
 Returns a human-readable string representation of this Code128ExtendedParameters. 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)
 

Public Attributes

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

Detailed Description

Stores special data of Code128 recognized barcode.

Represents the recognized barcode's region and barcode angle

This sample shows how to get code128 raw values

generator = BarcodeGenerator(EncodeTypes.Code128, "12345")
generator.save("test.png")
reader = BarCodeReader("test.png", None, DecodeType.CODE_128)
for result in reader.readBarCodes():
print("BarCode Type: " + result.getCodeTypeName())
print("BarCode CodeText: " + result.getCodeText())
print("Code128 Data Portions: " + result.getExtended().getCode128())

Constructor & Destructor Documentation

◆ __init__()

def asposebarcode.Recognition.Code128ExtendedParameters.__init__ (   self,
  javaClass 
)

Member Function Documentation

◆ convertCode128DataPortions()

def asposebarcode.Recognition.Code128ExtendedParameters.convertCode128DataPortions (   javaCode128DataPortions)

◆ equals()

def asposebarcode.Recognition.Code128ExtendedParameters.equals (   self,
  obj 
)

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

:param: obj An System.Object value to compare to this instance. :return: true if obj has the same value as this instance otherwise, false.

◆ getCode128DataPortions()

def asposebarcode.Recognition.Code128ExtendedParameters.getCode128DataPortions (   self)

Gets Code128DataPortion array of recognized Code128 barcode Value of the Code128DataPortion.

◆ hashCode()

def asposebarcode.Recognition.Code128ExtendedParameters.hashCode (   self)

Returns the hash code for this instance.

:return: A 32-bit signed integer hash code.

◆ init()

def asposebarcode.Recognition.Code128ExtendedParameters.init (   self)

◆ isEmpty()

def asposebarcode.Recognition.Code128ExtendedParameters.isEmpty (   self)

◆ toString()

def asposebarcode.Recognition.Code128ExtendedParameters.toString (   self)

Returns a human-readable string representation of this Code128ExtendedParameters.

:return: A string that represents this Code128ExtendedParameters.

Member Data Documentation

◆ code128DataPortions

asposebarcode.Recognition.Code128ExtendedParameters.code128DataPortions