TBarCode Library 11  TBarCode Library 11

◆ BCCheck()

ERRCODE BCCheck ( t_BarCode pBarCode)

Checks barcode input data for validity.

The bar code data is validated to be encoded with the selected symbology. Adjust all bar code parameters before you call this function. If the input data is invalid (a non-zero error code was returned), you can correct the bar code data and try again. If the check was successful, do not change barcode parameters or input data anymore (before you create a bar code).

Note
This function call is optional - if used it must be called before BCCreate().
Escape sequences in the bar code data (if enabled) are NOT translated during this check.
See also
BCSetTextA(), BCGetInvalidDataPos(), BCSetTranslateEsc()
Parameters
[in]pBarCodePointer to barcode structure.
Return values
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.

© 2023 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Apr 10 2024 13:55:57 for TBarCode Library 11 with doxygen 1.9.1