public final class DotCodeExtendedParameters extends BaseExtendedParameters
Stores special data of DotCode recognized barcode
This sample shows how to get DotCode raw values
BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.DOT_CODE, "12345");
generator.save("c:\\test.png");
BarCodeReader reader = new BarCodeReader(@"c:\\test.png", DecodeType.DOT_CODE);
for (BarCodeResult result : reader.readBarCodes()
{
System.out.println("BarCode type: " + result.getCodeTypeName());
System.out.println("BarCode codetext: " + result.getCodeText());
System.out.println("DotCode barcode ID: " + result.getExtended().getDotCode().getDotCodeStructuredAppendModeBarcodeId());
System.out.println("DotCode barcodes count: " + result.getExtended().getDotCode().getDotCodeStructuredAppendModeBarcodesCount());
}
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified
DotCodeExtendedParameters value. |
boolean |
getDotCodeIsReaderInitialization()
Deprecated.
Use IsReaderInitialization instead
|
int |
getDotCodeStructuredAppendModeBarcodeId()
Deprecated.
Use StructuredAppendModeBarcodeId instead
|
int |
getDotCodeStructuredAppendModeBarcodesCount()
Deprecated.
Use StructuredAppendModeBarcodesCount instead
|
int |
getStructuredAppendModeBarcodeId()
Gets the ID of the DotCode structured append mode barcode.
|
int |
getStructuredAppendModeBarcodesCount()
Gets the DotCode structured append mode barcodes count.
|
int |
hashCode()
Returns the hash code for this instance.
|
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.
|
java.lang.String |
toString()
Returns a human-readable string representation of this
DotCodeExtendedParameters. |
isEmptypublic final int getStructuredAppendModeBarcodesCount()
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.@Deprecated public final int 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.public final int getStructuredAppendModeBarcodeId()
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.@Deprecated public final int 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.public final 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.
@Deprecated public final boolean 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.
public boolean equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified DotCodeExtendedParameters value.
equals in class java.lang.Objectobj - An System.Object value to compare to this instance.<b>true</b> if obj has the same value as this instance; otherwise, <b>false</b>.public int hashCode()
Returns the hash code for this instance.
hashCode in class java.lang.Objectpublic java.lang.String toString()
Returns a human-readable string representation of this DotCodeExtendedParameters.
toString in class java.lang.ObjectDotCodeExtendedParameters.