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

Inherits BaseJavaClass.

Public Member Functions

 getCode128DataPortions ()
 
 equals ($obj)
 
 hashCode ()
 
 toString ()
 

Static Public Member Functions

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

Detailed Description

Stores special data of Code128 recognized barcode Represents the recognized barcode's region and barcode angle This sample shows how to get code128 raw values $generator = new BarcodeGenerator(EncodeTypes::Code128, "12345"); $generator->save("test.png"); $reader = new BarCodeReader("test.png", DecodeType::CODE_128); foreach($reader->readBarCodes() as $result) { print("BarCode Type: ".$result->getCodeTypeName()); print("BarCode CodeText: ".$result->getCodeText()); print("Code128 Data Portions: ".$result->getExtended()->getCode128()); }

Member Function Documentation

◆ equals()

equals (   $obj)

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

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

◆ getCode128DataPortions()

getCode128DataPortions ( )

Gets Code128DataPortion array of recognized Code128 barcode Value: Array of the Code128DataPortion.

◆ hashCode()

hashCode ( )

Returns the hash code for this instance.

Returns
A 32-bit signed integer hash code.

◆ op_Equality()

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

Returns a value indicating whether the first Code128ExtendedParameters 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 ( Code128ExtendedParameters  $first,
Code128ExtendedParameters  $second 
)
static

Returns a value indicating if the first Code128ExtendedParameters 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 Code128ExtendedParameters.

Returns
A string that represents this Code128ExtendedParameters.