ERRCODE BCSetRatioW ( t_BarCode pBarCode,
LPCWSTR  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] pBarCode Pointer to barcode structure.
[in] szRatio Print-ratio string in the form "1:2:...1:2" (reset to default = null).
Return values:
ERRCODE ErrOk (0) in case of success. Non-zero if error occurred.


© 2008 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Tue May 5 15:50:33 2009 for TEC-IT TBarCode Library 9.2 with doxygen 1.5.3