Supplies any required length for barcode data (eg. EAN requires 13 digits, or 12 if the 1 checkdigit is being calculated automatically).
VB declaration
Declare Function getLength Lib "DFONT32.DLL" (ByRef icode As Integer, ByRef Autoc As Integer) As Integer
C declaration
int WINAPI getLength(LPINT icode, LPINT Autoc);
where icode refers to the barcode type for which the required number of characters is desired, and Autoc is 1 if dFont will also be calculating the check digit, or 0 if the checkdigit is being provided.
The getLength function returns the number of characters required as input for the barcode to be created, or 0 is the barcode does not require a specified number of characters.
More: