![]() |
Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits BaseJavaClass.
Public Member Functions | |
__construct ($javaClass) | |
getStructuredAppendBarcodesCount () | |
getStructuredAppendBarcodeId () | |
getStructuredAppendFileId () | |
isReaderProgramming () | |
equals (DataMatrixExtendedParameters $obj) | |
hashCode () | |
toString () | |
![]() | |
getJavaClass () | |
getJavaClassName () | |
isNull () | |
printJavaClassName () | |
Protected Member Functions | |
init () | |
![]() | |
setJavaClass ($javaClass) | |
Stores special data of DataMatrix recognized barcode
This sample shows how to get DataMatrix raw values$generator = new BarcodeGenerator(EncodeTypes.DATA_MATRIX, "12345")) $generator->save("c:\\test.png", BarcodeImageFormat::PNG); $reader = new BarCodeReader("c:\\test.png", null, DecodeType::DATA_MATRIX)) foreach($reader->readBarCodes() as $result) { echo("BarCode type: " . $result->getCodeTypeName()); echo("BarCode codetext: " . $result->getCodeText()); echo("DataMatrix barcode ID: " . $result->getExtended()->getDataMatrix()->getStructuredAppendBarcodeId()); echo("DataMatrix barcodes count: " . $result->getExtended()->getDataMatrix()->getStructuredAppendBarcodesCount()); echo("DataMatrix file ID: " . $result->getExtended()->getDataMatrix()->getStructuredAppendFileId()); echo("DataMatrix is reader programming: " . $result->getExtended()->getDataMatrix()->isReaderProgramming()); }
DataMatrixExtendedParameters::__construct | ( | $javaClass | ) |
Reimplemented from BaseJavaClass.
DataMatrixExtendedParameters::equals | ( | DataMatrixExtendedParameters | $obj | ) |
Returns a value indicating whether this instance is equal to a specified
value.
obj | An System.Object value to compare to this instance. |
DataMatrixExtendedParameters::getStructuredAppendBarcodeId | ( | ) |
Gets the ID of the DataMatrix structured append mode barcode. ID starts from 1 and must be less or equal to barcodes count. Default value is -1.
Value: The ID of the DataMatrix structured append mode barcode.
DataMatrixExtendedParameters::getStructuredAppendBarcodesCount | ( | ) |
Gets the DataMatrix structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35.
Value: The count of the DataMatrix structured append mode barcode.
DataMatrixExtendedParameters::getStructuredAppendFileId | ( | ) |
Gets the ID of the DataMatrix structured append mode barcode. ID starts from 1 and must be less or equal to barcodes count. Default value is -1.
Value: The ID of the DataMatrix structured append mode barcode.
DataMatrixExtendedParameters::hashCode | ( | ) |
Returns the hash code for this instance.
|
protected |
Reimplemented from BaseJavaClass.
DataMatrixExtendedParameters::isReaderProgramming | ( | ) |
Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader. Default value is false.
DataMatrixExtendedParameters::toString | ( | ) |
Returns a human-readable string representation of this
.