DataBarExtendedParameters
Contents
[
Hide
]DataBarExtendedParameters class
Stores a DataBar additional information of recognized barcode
new DataBarExtendedParameters()
Example:
let reader = new BarCodeReader("test.png", DecodeType.DATABAR_OMNI_DIRECTIONAL);
let results = reader.readBarCodes();
for(let i = 0; i < results.length; i++)
{
let result = results[i];
console.log("BarCode Type: " + result.getCodeTypeName());
console.log("BarCode CodeText: " + result.getCodeText());
console.log("QR Structured Append Quantity: " + result.getExtended().getQR().getQRStructuredAppendModeBarCodesQuantity());
}
Methods
| Name | Description |
|---|---|
| equals(obj) | Returns a value indicating whether this instance is equal to a specified DataBarExtendedParameters value. |
| hashCode() | Returns the hash code for this instance. |
| is2DCompositeComponent() | Gets the DataBar 2D composite component flag. Default value is false. |
| toString() | Returns a human-readable string representation of this . |
equals(obj)
Returns a value indicating whether this instance is equal to a specified DataBarExtendedParameters value.
| Parameter | Description |
|---|---|
| obj | DataBarExtendedParameters value to compare to this instance. |
Returns: true if obj has the same value as this instance; otherwise, false .
hashCode()
Returns the hash code for this instance.
Returns: A 32-bit signed integer hash code.
is2DCompositeComponent()
Gets the DataBar 2D composite component flag. Default value is false.
Returns: The DataBar 2D composite component flag.
toString()
Returns a human-readable string representation of this .
Returns: A string that represents this .