Sets barcode text (ASCII version).
Specifies the data to be encoded as barcode (also called utilizable data).
The codeable strings (allowed characters) depend on the selected barcode type: Some barcodes support alphanumeric and some support only numeric characters. Some require a specific length of the string, some not. If the data provided is not valid for the selected barcode an error is returned in BCCheck(). For a list of codeable characters for a specific barcode type check out the separate document Barcode Reference (http://www.tec-it.com/documentation).
- See also:
- BCGetText(), BCSetTextW(), BCIsTextUnicode(), BCGetTextLen()
- Parameters:
-
[in] | pBarCode | Pointer to barcode structure. |
[in] | szText | Bar-code text. |
[in] | nLen | Length of input string.
- >0: Length of string is specifed in nLen
- 0: TBarCode expects a \0-terminated string
|
- Return values:
-
| ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. |