DotCodeExtendedParameters

DotCodeExtendedParameters class

Stores special data of DotCode recognized barcode

public class DotCodeExtendedParameters : joint.BaseJavaClass

Constructors

NameDescription
DotCodeExtendedParameters(object)Initializes a new instance of the DotCodeExtendedParameters class.

Methods

NameDescription
equals(object)Returns a value indicating whether this instance is equal to a specified DotCodeExtendedParameters value.
getDotCodeIsReaderInitializationIndicates 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.
getDotCodeStructuredAppendModeBarcodeId
getDotCodeStructuredAppendModeBarcodesCount
getStructuredAppendModeBarcodeIdValue: The ID of the DotCode structured append mode barcode.
getStructuredAppendModeBarcodesCountValue: The count of the DotCode structured append mode barcode.
hashCodeReturns the hash code for this instance.
init
isReaderInitializationIndicates 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.
toStringReturns a human-readable string representation of this DotCodeExtendedParameters.

Examples

let generator = new BarcodeGenerator(EncodeTypes.DOT_CODE, "12345");
generator.save("c:\\test.png", BarCodeImageFormat.PNG);
let reader = new BarCodeReader("c:\\test.png", null, DecodeType.DOT_CODE);
let results = reader.readBarCodes();
for(let i = 0; i < results.length; i++)
{
let result = results[i];
print("BarCode type: " + result.getCodeTypeName());
print("BarCode codetext: " + result.getCodeText());
print("DotCode barcode ID: " + result.getExtended().getDotCode().getDotCodeStructuredAppendModeBarcodeId());
print("DotCode barcodes count: " + result.getExtended().getDotCode().getDotCodeStructuredAppendModeBarcodesCount());
}

See Also