TBarCode Library 11 TBarCode Library 11
Bar:Space Print-Ratio

Modify the so-called print-ratio of a barcode with these functions. More...

Functions

LPCSTR BCGetRatioString (e_BarCType eType)
 Returns the default print-ratio string of the barcode.
LPCSTR BCGetRatioHint (e_BarCType eType)
 Returns the format hint for the print-ratio.
LONG BCGetCountBars (e_BarCType eBarCType)
 Returns number of different bar-widths used by the symbology.
LONG BCGetCountSpaces (e_BarCType eBarCType)
 Returns number of different space-widths used by the symbology.
LPCSTR BCGetRatioA (t_BarCode *pBarCode)
 Gets current print-ratio string.
LPCWSTR BCGetRatioW (t_BarCode *pBarCode)
 Gets current print-ratio string.
ERRCODE BCSetRatioA (t_BarCode *pBarCode, LPCSTR szRatio)
 Set print-ratio string.
ERRCODE BCSetRatioW (t_BarCode *pBarCode, LPCWSTR szRatio)
 Set print-ratio string.

Detailed Description

Modify the so-called print-ratio of a barcode with these functions.

TBarCode uses the standard-print ratio for each barcode symbology. Some industry standards enforce the implementation of special print-ratios.