Functions | |||||
| LPCSTR | BCGetRatioString (e_BarCType eType) | ||||
Returns the default print-ratio string of the barcode. Returns the default print-ratio of the selected barcode type as string. The ratio string looks like "1:3:1:3" where the single values separated by colons corresponds to the ratio-values of the bars or spaces. The format of the ratio-string matches the format of the ratio-hint (see BCGetRatioHint()). This default value is used if no other print-ratio was selected.
| |||||
| LPCSTR | BCGetRatioHint (e_BarCType eType) | ||||
Returns the format hint for the print-ratio. Return the format of the ratio-string (to be used only as hint for users or developers). This hint serves as template for your own print-ratio strings passed to BSSetRatio(). The value depends on the selected barcode symbology. Learn more about it in the Barcode Reference.
| |||||
| LONG | 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.
| |||||
| LONG | BCGetCountSpaces (e_BarCType eBarCType) | ||||
| Returns number of different space-widths used by the symbology. Returns number of different space-widths for specified barcode symbology. Code 2 of 5 Interleaved uses two different space-widths: the return value is 2.
| |||||
| LPCSTR | BCGetRatioA (t_BarCode* pBarCode) | ||||
Gets current print-ratio string. Returns currently adjusted value.
| |||||
| LPCWSTR | BCGetRatioW (t_BarCode* pBarCode) | ||||
Gets current print-ratio string. Returns currently adjusted value.
| |||||
| ERRCODE | 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.
| |||||
| 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.
| |||||
|
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.
| -1 | In case of error |
| >0 | Otherwise ----------------------------------------------------------------------------. |
|
Returns number of different space-widths used by the symbology. Returns number of different space-widths for specified barcode symbology.
Code 2 of 5 Interleaved uses two different space-widths: the return value is 2.
| -1 | In case of error |
| >0 | Otherwise ----------------------------------------------------------------------------. |
|
Gets current print-ratio string. Returns currently adjusted value.
| LPCSTR | Current ratio-string in format similar to "1B:2B:...1S:2S" ----------------------------------------------------------------------------. |
|
Returns the format hint for the print-ratio. Return the format of the ratio-string (to be used only as hint for users or developers). This hint serves as template for your own print-ratio strings passed to BSSetRatio(). The value depends on the selected barcode symbology. Learn more about it in the Barcode Reference.
| LPCSTR | Bar-code symbology depending string in the format "1B:2B:...:1S:2S" ----------------------------------------------------------------------------. |
|
Returns the default print-ratio string of the barcode. Returns the default print-ratio of the selected barcode type as string. The ratio string looks like "1:3:1:3" where the single values separated by colons corresponds to the ratio-values of the bars or spaces. The format of the ratio-string matches the format of the ratio-hint (see BCGetRatioHint()). This default value is used if no other print-ratio was selected.
| LPCSTR | Bar-code symbology depending string in the format "1:2:...:1:2" ----------------------------------------------------------------------------. |
|
Gets current print-ratio string. Returns currently adjusted value.
| LPCSTR | Current ratio-string in format similar to "1B:2B:...1S:2S" ----------------------------------------------------------------------------. |
|
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.
| ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------. |
|
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.
| ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------. |
| © 2019 All rights reserved by TEC-IT Datenverarbeitung GmbH |
![]() |
| Generated on Sat Jul 13 03:16:06 2019 for TBarCode Library 11 with doxygen 1.1.5 |