int  error

Returns a value representing the error code if a valid barcode image cannot be created on a call to BarCodem. The error codes are shown below.

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 metafile

9        no code provided

10      error writing disk file

The text versions of the error codes may be obtained by calling ErrorMess()

 

More:

int flags;