TBarCode Library 11  TBarCode Library 11
ERRCODE BCSet_PDF417_ECLevel ( t_BarCode pBarCode,
LONG  nLevel 
)

Sets PDF417 error correction level.

Set the "Error Correction Level" for PDF417 to a fixed value. Possible values are [0...8] where 0 means only error recognition (no EC) and 8 means the highest level of EC. If not set, the error correction level is chosen automatically by TBarCode.

See also:
BCGet_PDF417_ECLevel()
Parameters:
[in]pBarCodePointer to barcode structure.
[in]nLevelError correction level [0..8] (-1 ... reset to default).
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.