TBarCode Library 11  TBarCode Library 11
LONG _stdcall BCGetMaxLenOfData ( e_BarCType  eType)

Returns the number of characters for a specified barcode.

Returns the exact number of characters that can be encoded with the specified barcode symbology. Returns zero if there is no specified length or an unknown barcode type was passed.

Parameters:
[in]eTypeBarcode type.
Return values:
>0The number of expected input characters.
0Number of input characters is unknown for this barcode.