GetLength()

Int GetLength(int icode, int iauto)

Returns any required length for barcode data (eg. EAN requires 13 digits, or 12 if the 1 checkdigit is being calculated automatically).

where icode refers to the barcode type for which the required number of characters is desired, and iauto is 1 if dFont will also be calculating the check digit, or 0 if the checkdigit is being provided.

A return of 0 indicates that the barcode does not have a specific data length requirement.

 

More:

GetTypeName()