DataMatrixExtendedParameters

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

public final class DataMatrixExtendedParameters extends BaseExtendedParameters

Stores special data of DataMatrix recognized barcode


This sample shows how to get DataMatrix raw values
 
 BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.DATA_MATRIX, "12345");
 generator.save("c:\\test.png");

 BarCodeReader reader = new BarCodeReader("c:\\test.png", DecodeType.DATA_MATRIX);
 for(BarCodeResult result : reader.readBarCodes())
 {
     System.out.println("BarCode type: " + result.getCodeTypeName());
     System.out.println("BarCode codetext: " + result.getCodeText);
     System.out.println("DataMatrix barcode ID: " + result.getExtended().getDataMatrix().getStructuredAppendBarcodeId());
     System.out.println("DataMatrix barcodes count: " + result.getExtended().getDataMatrix().getStructuredAppendBarcodesCount());
     System.out.println("DataMatrix file ID: " + result.getExtended().getDataMatrix().getStructuredAppendFileId());
     System.out.println("DataMatrix is reader programming: " + result.getExtended().getDataMatrix().isReaderProgramming));
 }

Methods

MethodDescription
equals(Object obj)Returns a value indicating whether this instance is equal to a specified DataMatrixExtendedParameters value.
getClass()
getStructuredAppendBarcodeId()Gets the ID of the DataMatrix structured append mode barcode.
getStructuredAppendBarcodesCount()Gets the DataMatrix structured append mode barcodes count.
getStructuredAppendFileId()Gets the ID of the DataMatrix structured append mode barcode.
hashCode()Returns the hash code for this instance.
isEmpty()Tests whether all parameters has only default values
isReaderProgramming()Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader.
notify()
notifyAll()
op_Equality(DataMatrixExtendedParameters first, DataMatrixExtendedParameters second)Returns a value indicating whether the first DataMatrixExtendedParameters value is equal to the second.
op_Inequality(DataMatrixExtendedParameters first, DataMatrixExtendedParameters second)Returns a value indicating if the first DataMatrixExtendedParameters value is different from the second.
toString()Returns a human-readable string representation of this DataMatrixExtendedParameters .
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 DataMatrixExtendedParameters 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

getStructuredAppendBarcodeId()

public int getStructuredAppendBarcodeId()

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

Returns: int

getStructuredAppendBarcodesCount()

public int getStructuredAppendBarcodesCount()

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

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

Returns: int

getStructuredAppendFileId()

public int getStructuredAppendFileId()

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

Returns: int

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

isReaderProgramming()

public boolean isReaderProgramming()

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.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

op_Equality(DataMatrixExtendedParameters first, DataMatrixExtendedParameters second)

public static boolean op_Equality(DataMatrixExtendedParameters first, DataMatrixExtendedParameters second)

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

Parameters:

ParameterTypeDescription
firstDataMatrixExtendedParametersA first compared value
secondDataMatrixExtendedParametersA second compared value

Returns: boolean - true if first has the same value as second; otherwise, false .

op_Inequality(DataMatrixExtendedParameters first, DataMatrixExtendedParameters second)

public static boolean op_Inequality(DataMatrixExtendedParameters first, DataMatrixExtendedParameters second)

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

Parameters:

ParameterTypeDescription
firstDataMatrixExtendedParametersA first compared value
secondDataMatrixExtendedParametersA second compared value

Returns: boolean - true if first has the different value from second; otherwise, false .

toString()

public String toString()

Returns a human-readable string representation of this DataMatrixExtendedParameters .

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

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