Error

Barcode.Error            if non-zero indicates an error in producing the barcode

The error codes are

 

code

meaning

0

No error

1

Wrong code length

2

Unrecognised code type

3

Wrong add-on code length

4

Illegal character in code

5

Error in embedded code

6

Generated line width less than 1 unit

7

font error

8

unable to create Picture

9

no code type provided

 

More:

ImageHeight and ImageWidth