BarcodeType Property

Determines the barcode type.

Syntax

public int getBarcodeType()
public void setBarcodeType(int barcodeType)
Parameters

barcodeType

Specifies the barcode type. The constant values (defined on the Barcode class) and equivalent numeric values are:

Remarks

This property must be set before performing any other operations (especially setting data) on the object.

If you need to generate barcodes of different types, you can set this property several times to modify its value; this is more efficient than recreating a barcode instance each time.