Class DotCodeExtendedParameters
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());
}
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns a value indicating whether this instance is equal to a specifiedDotCodeExtendedParametersvalue.final booleanDeprecated.Use IsReaderInitialization insteadfinal intDeprecated.Use StructuredAppendModeBarcodeId insteadfinal intDeprecated.Use StructuredAppendModeBarcodesCount insteadfinal intGets the ID of the DotCode structured append mode barcode.final intGets the DotCode structured append mode barcodes count.inthashCode()Returns the hash code for this instance.final 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(DotCodeExtendedParameters first, DotCodeExtendedParameters second) Returns a value indicating whether the firstDotCodeExtendedParametersvalue is equal to the second.static booleanop_Inequality(DotCodeExtendedParameters first, DotCodeExtendedParameters second) Returns a value indicating if the firstDotCodeExtendedParametersvalue is different from the second.toString()Returns a human-readable string representation of thisDotCodeExtendedParameters.Methods inherited from class com.aspose.barcode.barcoderecognition.BaseExtendedParameters
isEmpty
-
Method Details
-
getStructuredAppendModeBarcodesCount
public 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.- Returns:
- the DotCode structured append mode barcodes count.
-
getDotCodeStructuredAppendModeBarcodesCount
Deprecated.Use StructuredAppendModeBarcodesCount insteadGets 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.- Returns:
- the DotCode structured append mode barcodes count.
-
getStructuredAppendModeBarcodeId
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.- Returns:
- the ID of the DotCode structured append mode barcode.
-
getDotCodeStructuredAppendModeBarcodeId
Deprecated.Use StructuredAppendModeBarcodeId insteadGets 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.- Returns:
- the ID of the DotCode structured append mode barcode.
-
isReaderInitialization
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.
-
getDotCodeIsReaderInitialization
Deprecated.Use IsReaderInitialization insteadIndicates 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
DotCodeExtendedParametersvalue. -
op_Equality
public static boolean op_Equality(DotCodeExtendedParameters first, DotCodeExtendedParameters second) Returns a value indicating whether the first
DotCodeExtendedParametersvalue 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(DotCodeExtendedParameters first, DotCodeExtendedParameters second) Returns a value indicating if the first
DotCodeExtendedParametersvalue 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
DotCodeExtendedParameters.- Overrides:
toStringin classObject- Returns:
- A string that represents this
DotCodeExtendedParameters.
-