TBarCode Library 11  TBarCode Library 11

◆ BCSetRatioA()

ERRCODE TECIT_STDCALL BCSetRatioA ( t_BarCode pBarCode,
LPCSTR  szRatio 
)

Set print-ratio string.

Specifies the print-ratio string for the width-relationship of the single bars and spaces. A format template used for this string is available in the property RatioHint (see BCGetRatioHint()). The ratio string looks like "1B:2B:...1S:2S" where 1B stands for the ratio-value for the most narrow bar, 1S for the ratio-value of the most-narrow space. The number of values for bars (xB) and the number of values for the spaces (xS) depends on the current symbology. It is explained in more detail in the separate document Barcode Reference.

See also
BCGetRatio(), BCGetRatioHint()
Parameters
[in]pBarCodePointer to barcode structure.
[in]szRatioPrint-ratio string in the form "1:2:...1:2" (reset to default = null).
Return values
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.

© 2019 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Nov 6 2019 16:51:32 for TBarCode Library 11 with doxygen 1.8.13