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

Inherits BaseJavaClass.

Public Member Functions

 __construct ($javaClass)
 
 getStructuredAppendBarcodesCount ()
 
 getStructuredAppendBarcodeId ()
 
 getStructuredAppendFileId ()
 
 isReaderInitialization ()
 
 equals ($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 Aztec recognized barcode * This sample shows how to get Aztec raw values

$generator = new BarcodeGenerator(EncodeTypes::AZTEC, "12345");
$generator->save("test.png", BarcodeImageFormat::PNG);
$reader = new BarCodeReader("test.png", null, DecodeType::AZTEC);
foreach($reader->readBarCodes() as $result)
{
echo("BarCode type: " . $result->getCodeTypeName());
echo("BarCode codetext: " . $result->getCodeText());
echo("Aztec barcode ID: " . $result->getExtended()->getAztec()->getStructuredAppendBarcodeId());
echo("Aztec barcodes count: " . $result->getExtended()->getAztec()->getStructuredAppendBarcodesCount());
echo("Aztec file ID: " . $result->getExtended()->getAztec()->getStructuredAppendFileId());
echo("Aztec is reader initialization: " . $result->getExtended()->getAztec()->isReaderInitialization());
}

Constructor & Destructor Documentation

◆ __construct()

AztecExtendedParameters::__construct (   $javaClass)

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ equals()

AztecExtendedParameters::equals (   $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()

AztecExtendedParameters::getStructuredAppendBarcodeId ( )

Gets the ID of the Aztec structured append mode barcode. ID starts from 1 and must be less or equal to barcodes count. Default value is 0.

Value: The barcode ID of the Aztec structured append mode.

◆ getStructuredAppendBarcodesCount()

AztecExtendedParameters::getStructuredAppendBarcodesCount ( )

Gets the Aztec structured append mode barcodes count. Default value is 0. Count must be a value from 1 to 26.

Value: The barcodes count of the Aztec structured append mode.

◆ getStructuredAppendFileId()

AztecExtendedParameters::getStructuredAppendFileId ( )

Gets the File ID of the Aztec structured append mode. Default value is empty string

Value: The File ID of the Aztec structured append mode.

◆ hashCode()

AztecExtendedParameters::hashCode ( )

Returns the hash code for this instance.

Returns
A 32-bit signed integer hash code.

◆ init()

AztecExtendedParameters::init ( )
protected

Reimplemented from BaseJavaClass.

◆ isReaderInitialization()

AztecExtendedParameters::isReaderInitialization ( )

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

AztecExtendedParameters::toString ( )

Returns a human-readable string representation of this

.

Returns
A string that represents this .