AddOnData Property

Determines the data used by the add-on portion of the barcode.

Syntax

public char[] getAddOnData()
public boolean setAddOnData(char data[])
public boolean setAddOnData(String data)

Parameters

addOnData

Specifies the data for the add-on portion of the barcode.

The default is a suite of 0s.

Remarks

This property must be set after barcodeType has been set; any change to the barcodeType property will cause this property to change back to a suite of 0s.

The value of this property must be valid for the current barcodeType, otherwise setAddOnData will either return false or, if the throwDataError property is true, an error will be thrown instead.

Most barcode types do not have add-ons.