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

Inherits BaseJavaClass.

Public Member Functions

 construct ($javaClass)
 
 getDotCodeStructuredAppendModeBarcodesCount ()
 
 getDotCodeStructuredAppendModeBarcodeId ()
 
 getDotCodeIsReaderInitialization ()
 
 equals (DotCodeExtendedParameters $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)
 

Detailed Description

Stores special data of DotCode recognized barcode


This sample shows how to get DotCode raw values

$generator = new BarcodeGenerator(EncodeTypes::DOT_CODE, "12345");
{
    $generator->save("c:\\test.png", BarCodeImageFormat::PNG);
}
$reader = new BarCodeReader("c:\\test.png", null, DecodeType::DOT_CODE);
{
    foreach($reader->readBarCodes() as $result)
    {
        print("BarCode type: " . $result->getCodeTypeName());
        print("BarCode codetext: " . $result->getCodeText());
        print("DotCode barcode ID: " . $result->getExtended()->getDotCode()->getDotCodeStructuredAppendModeBarcodeId());
        print("DotCode barcodes count: " . $result->getExtended()->getDotCode()->getDotCodeStructuredAppendModeBarcodesCount());
    }
}

Member Function Documentation

◆ construct()

DotCodeExtendedParameters::construct (   $javaClass)

◆ equals()

DotCodeExtendedParameters::equals ( DotCodeExtendedParameters  $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.

◆ getDotCodeIsReaderInitialization()

DotCodeExtendedParameters::getDotCodeIsReaderInitialization ( )

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.

◆ getDotCodeStructuredAppendModeBarcodeId()

DotCodeExtendedParameters::getDotCodeStructuredAppendModeBarcodeId ( )

Gets the ID of the DotCode 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 DotCode structured append mode barcode.

◆ getDotCodeStructuredAppendModeBarcodesCount()

DotCodeExtendedParameters::getDotCodeStructuredAppendModeBarcodesCount ( )

Gets the DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35.

Value: The count of the DotCode structured append mode barcode.

◆ hashCode()

DotCodeExtendedParameters::hashCode ( )

Returns the hash code for this instance.

Returns
A 32-bit signed integer hash code.

◆ init()

DotCodeExtendedParameters::init ( )
protected

Reimplemented from BaseJavaClass.

◆ toString()

DotCodeExtendedParameters::toString ( )

Returns a human-readable string representation of this

.

Returns
A string that represents this .