Aspose.Barcode for PHP via Java Generation and Recognition API docs
DataMatrixExtendedParameters Class Reference

Inherits BaseJavaClass.

Public Member Functions

 __construct ($javaClass)
 
 getStructuredAppendBarcodesCount ()
 
 getStructuredAppendBarcodeId ()
 
 getStructuredAppendFileId ()
 
 isReaderProgramming ()
 
 equals (DataMatrixExtendedParameters $obj)
 
 hashCode ()
 
 toString ()
 
- Public Member Functions inherited from BaseJavaClass
 getJavaClass ()
 
 getJavaClassName ()
 
 isNull ()
 
 printJavaClassName ()
 

Protected Member Functions

 init ()
 
- Protected Member Functions inherited from BaseJavaClass
 setJavaClass ($javaClass)
 

Detailed Description

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());
}

Constructor & Destructor Documentation

◆ __construct()

DataMatrixExtendedParameters::__construct (   $javaClass)

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ equals()

DataMatrixExtendedParameters::equals ( DataMatrixExtendedParameters  $obj)

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

value.

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

◆ getStructuredAppendBarcodeId()

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.

◆ getStructuredAppendBarcodesCount()

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.

◆ getStructuredAppendFileId()

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.

◆ hashCode()

DataMatrixExtendedParameters::hashCode ( )

Returns the hash code for this instance.

Returns
A 32-bit signed integer hash code.

◆ init()

DataMatrixExtendedParameters::init ( )
protected

Reimplemented from BaseJavaClass.

◆ isReaderProgramming()

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.

◆ toString()

DataMatrixExtendedParameters::toString ( )

Returns a human-readable string representation of this

.

Returns
A string that represents this .