AddOnData Property

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


object.AddOnData [ = addOnData ]



The Barcode Active Server Component


String specifying the data for the add-on portion of the barcode.

The default is a suite of 0s.


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

The value of this property must be compatible with the current BarcodeType, otherwise an error will be thrown. Not all barcode types have add-ons.

If the barcode type uses a check character (or characters), it's not necessary to include them in the Data property, as they can be calculated. However, if you do include them, they need to be correct.