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

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

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

Public Attributes

 code128DataPortions
 
- Public Attributes inherited from 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", BarCodeImageFormat.PNG)
reader = Recognition.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 __init__ (   self,
  javaClass 
)

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ convertCode128DataPortions()

def convertCode128DataPortions (   javaCode128DataPortions)

◆ equals()

def equals (   self,
  obj 
)

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

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

◆ getCode128DataPortions()

def getCode128DataPortions (   self)

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

◆ hashCode()

def hashCode (   self)

Returns the hash code for this instance.

Returns
: A 32-bit signed integer hash code.

◆ init()

def init (   self)

Reimplemented from BaseJavaClass.

◆ isEmpty()

def isEmpty (   self)

◆ toString()

def toString (   self)

Returns a human-readable string representation of this Code128ExtendedParameters.

Returns
: A string that represents this Code128ExtendedParameters.

Member Data Documentation

◆ code128DataPortions

code128DataPortions