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

Inherits BaseJavaClass.

Public Member Functions

 getCode128DataPortions ()
 
 isEmpty ()
 
 equals (Code128ExtendedParameters $obj)
 
 hashCode ()
 
 toString ()
 
- Public Member Functions inherited from BaseJavaClass
 __construct ($javaClass)
 
 getJavaClass ()
 
 getJavaClassName ()
 
 isNull ()
 
 printJavaClassName ()
 

Protected Member Functions

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

Static Private Member Functions

static convertCode128DataPortions ($javaCode128DataPortions)
 

Private Attributes

 $code128DataPortions
 

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::CODE_128, "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

◆ convertCode128DataPortions()

static Code128ExtendedParameters::convertCode128DataPortions (   $javaCode128DataPortions)
staticprivate

◆ equals()

Code128ExtendedParameters::equals ( Code128ExtendedParameters  $obj)

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

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

◆ getCode128DataPortions()

Code128ExtendedParameters::getCode128DataPortions ( )

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

◆ hashCode()

Code128ExtendedParameters::hashCode ( )

Returns the hash code for this instance.

Returns
int A 32-bit signed integer hash code.

◆ init()

Code128ExtendedParameters::init ( )
protected

Reimplemented from BaseJavaClass.

◆ isEmpty()

Code128ExtendedParameters::isEmpty ( )

◆ toString()

Code128ExtendedParameters::toString ( )

Returns a human-readable string representation of this Code128ExtendedParameters.

Returns
string A string that represents this Code128ExtendedParameters.

Member Data Documentation

◆ $code128DataPortions

Code128ExtendedParameters::$code128DataPortions
private