Sets auto-correct option for input data.
If set to true TBarCode performs the following operations on the input data (before creating the bar code):
- Code 39: Trim leading/trailing '*' characters (start/stop characters are added by the encoder)
- ISBN-13/ISSN/ISMN: Remove '-' characters (not encoded into the bar code)
- Code 2of5 Interleaved: Insert a leading zero if the number of data digits is odd (2/5 IL supports only even number of digits)
- Code 128: Remove multiple occurrences of leading FNC1 and all occurrences of trailing FNC1 characters.
- GS1 128: Remove all leading and trailing FNC1 characters (the FNC1 at first position is added by the encoder).
- Note:
- Should always be true. If this option is set to false BCCheck() or BCCreate() may return with an error.
- Parameters:
-
[in] | pBarCode | Pointer to barcode structure. |
[in] | bAutoCorrect | Auto correct flag.
- true ... Enable auto-correct
- false ... Disable auto-correct
|
- Return values:
-
ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. |
- See also:
- BCGetAutoCorrect()