SetFieldTypeAsBarCode(BarcodeType As Integer, Rotation As Integer)

FieldDef object

BarcodeType must be specified as one of the values in the table below: If the value of BarcodeType is incorrect, the type is set to Automatic (any one-dimensional barcode).

Value

Barcode type

0

CODE39

1

EAN13

2

EAN8

3

UPCA

4

INTERLEAVED

5

CODABAR

6

CODE128

9

PDF417

10

Automatic

Rotation must be specified as one of these four values: 0, 90, 180, and 270 degrees. If the value of Rotation is incorrect, the barcode is not rotated— that is, 0 is used.

The FieldDef object