ERRCODE BCSetAutoCorrect ( t_BarCode pBarCode,
BOOL  bAutoCorrect 
)

Sets auto-correct option for Code 2 of 5 interleaved.

If set to true TBarCode inserts a leading zero if the number of data digits is odd when generating 2 of 5 interleaved. 2of 5 interleaved is only able to encode an even number of digits. If this option is set to false BCCheck() returns with an error in the case of an odd number of input-digits.

Note:
Should always be true.
Parameters:
[in] pBarCode Pointer to barcode structure.
[in] bAutoCorrect Auto correct flag for 2of5 interleaved.
  • 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()


© 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