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] pBarCode Pointer to barcode structure.
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:32 2009 for TEC-IT TBarCode Library 9.2 with doxygen 1.5.3