Data Property

Determines the data used by the barcode (or the main portion of the barcode if there's an add-on).

Syntax

object.Data [ = data ]

Parameters

object

The Barcode Active Server Component

data

String specifying the data for the main portion of the barcode.

The default is "000000".

Remarks

This property must be set after BarcodeType has been set; any change of the BarcodeType property will cause this property to change back to the default value ("000000").

The value of this property must be compatible with the current BarcodeType, otherwise an error will be thrown.

The value can contain characters native to the current barcode type (i.e. without ASCII code). To distinguish these characters from normal ASCII characters, you need to set the most-significant bit of the character to 1, i.e., add 128 to the native character code.