Aspose.BarCode for Python via Java  24.11
Aspose.Barcode for Python via Java Generation and Recognition API docs
DataBarExtendedParameters Class Reference

Stores a DataBar additional information of recognized barcode. More...

Inherits BaseJavaClass.

Public Member Functions

bool __eq__ (self, DataBarExtendedParameters other)
 Returns a value indicating whether this instance is equal to a specified DataBarExtendedParameters value. More...
 
int __hash__ (self)
 Returns the hash code for the current instance. More...
 
str __str__ (self)
 Returns a human-readable string representation of this DataBarExtendedParameters. More...
 
None init (self)
 
bool is2DCompositeComponent (self)
 Gets the DataBar 2D composite component flag. More...
 
- Public Member Functions inherited from BaseJavaClass
None __init__ (self, javaClass)
 
def getJavaClass (self)
 
str getJavaClassName (self)
 
bool isNull (self)
 
None printJavaClassName (self)
 
None setJavaClass (self, javaClass)
 

Static Public Attributes

string javaClassName = "com.aspose.mw.barcode.recognition.MwDataBarExtendedParameters"
 

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

Stores a DataBar additional information of recognized barcode.

reader = Recognition.BarCodeReader(self.image_path_databar_omni, None, Recognition.DecodeType.DATABAR_OMNI_DIRECTIONAL)
for result in reader.readBarCodes():
print(f"\nBarCode Type: {result.getCodeTypeName()}")
print(f"BarCode CodeText: {result.getCodeText()}")
print(f"QR Structured Append Quantity: "
f"{result.getExtended().getQR().getQRStructuredAppendModeBarCodesQuantity()}")

Member Function Documentation

◆ __eq__()

bool __eq__ (   self,
DataBarExtendedParameters  other 
)

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

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

◆ __hash__()

int __hash__ (   self)

Returns the hash code for the current instance.

Returns
A hash code for the current object.

◆ __str__()

str __str__ (   self)

Returns a human-readable string representation of this DataBarExtendedParameters.

Returns
: A string that represents this DataBarExtendedParameters.

◆ init()

None init (   self)

Reimplemented from BaseJavaClass.

◆ is2DCompositeComponent()

bool is2DCompositeComponent (   self)

Gets the DataBar 2D composite component flag.

Default value is false.

Returns
: The DataBar 2D composite component flag.

Member Data Documentation

◆ javaClassName

string javaClassName = "com.aspose.mw.barcode.recognition.MwDataBarExtendedParameters"
static