Class DataMatrixExtendedParameters
Stores special data of DataMatrix recognized barcode
This sample shows how to get DataMatrix raw valuesBarcodeGenerator 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)_); }
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns a value indicating whether this instance is equal to a specifiedDataMatrixExtendedParametersvalue.intGets the ID of the DataMatrix structured append mode barcode.intGets the DataMatrix structured append mode barcodes count.intGets the ID of the DataMatrix structured append mode barcode.inthashCode()Returns the hash code for this instance.booleanIndicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader.static booleanop_Equality(DataMatrixExtendedParameters first, DataMatrixExtendedParameters second) Returns a value indicating whether the firstDataMatrixExtendedParametersvalue is equal to the second.static booleanReturns a value indicating if the firstDataMatrixExtendedParametersvalue is different from the second.toString()Returns a human-readable string representation of thisDataMatrixExtendedParameters.Methods inherited from class com.aspose.barcode.barcoderecognition.BaseExtendedParameters
isEmpty
-
Method Details
-
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. -
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. -
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. -
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.
-
equals
Returns a value indicating whether this instance is equal to a specified
DataMatrixExtendedParametersvalue. -
op_Equality
public static boolean op_Equality(DataMatrixExtendedParameters first, DataMatrixExtendedParameters second) Returns a value indicating whether the first
DataMatrixExtendedParametersvalue is equal to the second.- Parameters:
first- A first compared valuesecond- A second compared value- Returns:
<b>true</b>if first has the same value as second; otherwise,<b>false</b>.
-
op_Inequality
public static boolean op_Inequality(DataMatrixExtendedParameters first, DataMatrixExtendedParameters second) Returns a value indicating if the first
DataMatrixExtendedParametersvalue is different from the second.- Parameters:
first- A first compared valuesecond- A second compared value- Returns:
<b>true</b>if first has the different value from second; otherwise,<b>false</b>.
-
hashCode
public int hashCode()Returns the hash code for this instance.
-
toString
Returns a human-readable string representation of this
DataMatrixExtendedParameters.
-