TBarCode Library 11  TBarCode Library 11
LONG _stdcall BCGetCountBars ( e_BarCType  eBarCType)

Returns number of different bar-widths used by the symbology.

Returns number of different bar-widths used for the specified barcode symbology.
Code 2 of 5 Interleaved uses two different bar-widths: the return value is 2.

See also:
BCGetRatioHint(), BCSetRatio(), BCGetRatio(), BCGetCountSpaces()
Parameters:
[in]eBarCTypeBar-code type.
Return values:
-1In case of error
>0Otherwise