AztecExtendedParameters
Inheritance: java.lang.Object, com.aspose.barcode.barcoderecognition.BaseExtendedParameters
public final class AztecExtendedParameters extends BaseExtendedParameters
Stores special data of Aztec recognized barcode
This sample shows how to get Aztec raw values BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.AZTEC, "12345"); generator.save("test.png"); BarCodeReader reader = new BarCodeReader("test.png", DecodeType.AZTEC); for(BarCodeResult result : reader.readBarCodes()) { System.out.println("BarCode type: " + result.getCodeTypeName()); System.out.println("BarCode codetext: " + result.getCodeText()); System.out.println("Aztec barcode ID: " + result.getExtended().getAztec().getStructuredAppendBarcodeId()); System.out.println("Aztec barcodes count: " + result.getExtended().getAztec().getStructuredAppendBarcodesCount()); System.out.println("Aztec file ID: " + result.getExtended().getAztec().getStructuredAppendFileId()); System.out.println("Aztec is reader initialization: " + result.getExtended().getAztec().isReaderInitialization()); }
Methods
Method | Description |
---|---|
equals(Object obj) | Returns a value indicating whether this instance is equal to a specified AztecExtendedParameters value. |
getClass() | |
getStructuredAppendBarcodeId() | Gets the ID of the Aztec structured append mode barcode. |
getStructuredAppendBarcodesCount() | Gets the Aztec structured append mode barcodes count. |
getStructuredAppendFileId() | Gets the File ID of the Aztec structured append mode. |
hashCode() | Returns the hash code for this instance. |
isEmpty() | Tests whether all parameters has only default values |
isReaderInitialization() | 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() | |
toString() | Returns a human-readable string representation of this AztecExtendedParameters . |
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 AztecExtendedParameters value.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | An 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 Aztec structured append mode barcode. ID starts from 1 and must be less or equal to barcodes count. Default value is 0.
Value: The barcode ID of the Aztec structured append mode.
Returns: int
getStructuredAppendBarcodesCount()
public int getStructuredAppendBarcodesCount()
Gets the Aztec structured append mode barcodes count. Default value is 0. Count must be a value from 1 to 26.
Value: The barcodes count of the Aztec structured append mode.
Returns: int
getStructuredAppendFileId()
public String getStructuredAppendFileId()
Gets the File ID of the Aztec structured append mode. Default value is empty string
Value: The File ID of the Aztec structured append mode.
Returns: java.lang.String
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
isReaderInitialization()
public boolean isReaderInitialization()
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()
toString()
public String toString()
Returns a human-readable string representation of this AztecExtendedParameters .
Returns: java.lang.String - A string that represents this AztecExtendedParameters .
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |