Code128ExtendedParameters

Inheritance: java.lang.Object, com.aspose.barcode.barcoderecognition.BaseExtendedParameters

public final class Code128ExtendedParameters extends BaseExtendedParameters

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
 
 BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.Code128, "12345");
 generator.save("test.png");
 BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_128);
 for(BarCodeResult result : reader.readBarCodes())
 {
    System.out.println("BarCode Type: " + result.getCodeTypeName());
    System.out.println("BarCode CodeText: " + result.getCodeText());
    System.out.println("Code128 Data Portions: " + result.getExtended().getCode128());
 }

Methods

MethodDescription
equals(Object obj)Returns a value indicating whether this instance is equal to a specified Code128ExtendedParameters value.
getClass()
getCode128DataPortions()Gets Code128DataPortion array of recognized Code128 barcode
hashCode()Returns the hash code for this instance.
isEmpty()Tests whether all parameters has only default values
notify()
notifyAll()
toString()Returns a human-readable string representation of this Code128ExtendedParameters .
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object obj)

public boolean equals(Object obj)

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

Parameters:

ParameterTypeDescription
objjava.lang.ObjectAn System.Object value to compare to this instance.

Returns: boolean - true if obj has the same value as this instance; otherwise, false .

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCode128DataPortions()

public Code128DataPortion[] getCode128DataPortions()

Gets Code128DataPortion array of recognized Code128 barcode

Value: Array of the Code128DataPortion .

Returns: com.aspose.barcode.barcoderecognition.Code128DataPortion[]

hashCode()

public int hashCode()

Returns the hash code for this instance.

Returns: int - A 32-bit signed integer hash code.

isEmpty()

public boolean isEmpty()

Tests whether all parameters has only default values

Value: Returns true if all parameters has only default values; otherwise, false .

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns a human-readable string representation of this Code128ExtendedParameters .

Returns: java.lang.String - A string that represents this Code128ExtendedParameters .

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int