Code128ExtendedParameters
Source: Reader.
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 let generator = new BarcodeGenerator(EncodeTypes.Code128, "12345"); generator.save("test.png"); let reader = new BarCodeReader("test.png", null, DecodeType.CODE_128); reader.readBarCodes().forEach(function(result, i, results) { console.log("BarCode Type: " + result.getCodeTypeName()); console.log("BarCode CodeText: " + result.getCodeText()); console.log("Code128 Data Portions: " + result.getExtended().getCode128()); });
new Code128ExtendedParameters()
Methods
op_Equality(first, second)
Returns a value indicating whether the first Code128ExtendedParameters value is equal to the second.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
first |
|
|
A first compared value |
second |
|
|
A second compared value |
- Returns
-
true if first has the same value as second; otherwise, false.
op_Inequality(first, second)
Returns a value indicating if the first Code128ExtendedParameters value is different from the second.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
first |
|
|
A first compared value |
second |
|
|
A second compared value |
- Returns
-
true if first has the different value from second; otherwise, false.
equals(obj)
Returns a value indicating whether this instance is equal to a specified Code128ExtendedParameters value.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
obj |
|
|
An System.Object value to compare to this instance. |
- Returns
-
true if obj has the same value as this instance; otherwise, false.
getCode128DataPortions()
Gets Code128DataPortion array of recognized Code128 barcode Value of the Code128DataPortion.
hashCode()
Returns the hash code for this instance.
- Returns
-
A 32-bit signed integer hash code.
toString()
Returns a human-readable string representation of this Code128ExtendedParameters.
- Returns
-
A string that represents this Code128ExtendedParameters.