Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits BaseJavaClass.
Public Member Functions | |
getValue () | |
getCheckSum () | |
isEmpty () | |
equals ($obj) | |
hashCode () | |
toString () | |
Static Public Member Functions | |
static | op_Equality (OneDExtendedParameters $first, OneDExtendedParameters $second) |
static | op_Inequality (OneDExtendedParameters $first, OneDExtendedParameters $second) |
Static Private Member Functions | |
static | isEqual (OneDExtendedParameters $first, OneDExtendedParameters $second) |
Stores special data of 1D recognized barcode like separate codetext and checksum This sample shows how to get 1D barcode value and checksum $generator = new BarcodeGenerator(EncodeTypes::EAN_13, "1234567890128"); $generator->save("test.png"); $reader = new BarCodeReader("test.png", DecodeType::EAN_13); foreach($reader->readBarCodes() as $result) { print("BarCode Type: ".$result->getCodeTypeName()); print("BarCode CodeText: ".$result->getCodeText()); print("BarCode Value: ".$result->getExtended()->getOneD()->getValue()); print("BarCode Checksum: ".$result->getExtended()->getOneD()->getCheckSum()); }
equals | ( | $obj | ) |
Returns a value indicating whether this instance is equal to a specified OneDExtendedParameters value.
obj | An System.Object value to compare to this instance. |
getCheckSum | ( | ) |
Gets the checksum for 1D barcodes. Value: The checksum for 1D barcode.
getValue | ( | ) |
Gets the codetext of 1D barcodes without checksum. Value: The codetext of 1D barcodes without checksum.
hashCode | ( | ) |
Returns the hash code for this instance.
isEmpty | ( | ) |
Tests whether all parameters has only default values Value: Returns
if all parameters has only default values; otherwise,
.
|
staticprivate |
Returns a value indicating whether the first value is equal to the second
first | A first compared value |
second | A second compared value |
|
static |
Returns a value indicating whether the first OneDExtendedParameters value is equal to the second.
first | A first compared value |
second | A second compared value |
|
static |
Returns a value indicating if the first OneDExtendedParameters value is different from the second.
first | A first compared value |
second | A second compared value |
toString | ( | ) |
Returns a human-readable string representation of this OneDExtendedParameters.