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

Inherits BaseJavaClass.

Public Member Functions

 getMacroPdf417FileID ()
 
 getMacroPdf417SegmentID ()
 
 getMacroPdf417SegmentsCount ()
 
 isEmpty ()
 
 equals ($obj)
 
 hashCode ()
 
 toString ()
 

Static Public Member Functions

static op_Equality (Pdf417ExtendedParameters $first, Pdf417ExtendedParameters $second)
 
static op_Inequality (Pdf417ExtendedParameters $first, Pdf417ExtendedParameters $second)
 

Static Private Member Functions

static isEqual (Pdf417ExtendedParameters $first, Pdf417ExtendedParameters $second)
 

Detailed Description

Stores a MacroPdf417 metadata information of recognized barcode This sample shows how to get Macro Pdf417 metadata $generator = new BarcodeGenerator(EncodeTypes::MacroPdf417, "12345"); $generator->getParameters()->getBarcode()->getPdf417()->setPdf417MacroFileID(10); $generator->getParameters()->getBarcode()->getPdf417()->setPdf417MacroSegmentsCount(2); $generator->getParameters()->getBarcode()->getPdf417()->setPdf417MacroSegmentID(1); $generator->save("test.png"); $reader = new BarCodeReader("test.png", DecodeType::MACRO_PDF_417); foreach($reader->readBarCodes() as $result) { print("BarCode Type: ".$result->getCodeTypeName()); print("BarCode CodeText: ".$result->getCodeText()); print("Macro Pdf417 FileID: ".$result->getExtended()->getPdf417()->getMacroPdf417FileID()); print("Macro Pdf417 Segments: ".$result->getExtended()->getPdf417()->getMacroPdf417SegmentsCount()); print("Macro Pdf417 SegmentID: ".$result->getExtended()->getPdf417()->getMacroPdf417SegmentID()); }

Member Function Documentation

◆ equals()

equals (   $obj)

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

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

◆ getMacroPdf417FileID()

getMacroPdf417FileID ( )

Gets the file ID of the barcode, only available with MacroPdf417.Value: The file ID for MacroPdf417

◆ getMacroPdf417SegmentID()

getMacroPdf417SegmentID ( )

Gets the segment ID of the barcode,only available with MacroPdf417.Value: The segment ID of the barcode.

◆ getMacroPdf417SegmentsCount()

getMacroPdf417SegmentsCount ( )

Gets macro pdf417 barcode segments count. Default value is -1.Value: Segments count.

◆ hashCode()

hashCode ( )

Returns the hash code for this instance.

Returns
A 32-bit signed integer hash code.

◆ isEmpty()

isEmpty ( )

Tests whether all parameters has only default values Value: Returns

<b>true</b>

if all parameters has only default values; otherwise,

<b>false</b>

.

◆ isEqual()

static isEqual ( Pdf417ExtendedParameters  $first,
Pdf417ExtendedParameters  $second 
)
staticprivate

Returns a value indicating whether the first value is equal to the second

Parameters
firstA first compared value
secondA second compared value
Returns
true if first has the same value as second; otherwise, false.

◆ op_Equality()

static op_Equality ( Pdf417ExtendedParameters  $first,
Pdf417ExtendedParameters  $second 
)
static

Returns a value indicating whether the first Pdf417ExtendedParameters value is equal to the second.

Parameters
firstA first compared value
secondA second compared value
Returns
true if first has the same value as second; otherwise, false.

◆ op_Inequality()

static op_Inequality ( Pdf417ExtendedParameters  $first,
Pdf417ExtendedParameters  $second 
)
static

Returns a value indicating if the first Pdf417ExtendedParameters value is different from the second.

Parameters
firstA first compared value
secondA second compared value
Returns
true if first has the different value from second; otherwise, false.

◆ toString()

toString ( )

Returns a human-readable string representation of this Pdf417ExtendedParameters.

Returns
A string that represents this Pdf417ExtendedParameters.