TBarCode Library 11 TBarCode Library 11

◆ BCSetCodePage()

ERRCODE BCSetCodePage ( t_BarCode * pBarCode,
e_CodePage eCodePage )

Sets the code page used for encoding the barcode data.

If the data encoding mode is set to eEncMode_CodePage, this function specifies the code page used for encoding the bar code data. Otherwise the code page is ignored. See e_EncodingMode and e_CodePage for a more detailed description.
If you set the code page to eCodePage_Custom, the BCSetCodePageCustom function determines the specific code page identifier to use.

See also
BCSetEncodingMode(), BCGetEncodingMode(), BCGetCodePage(), BCSetCodePageCustom(), e_EncodingMode, e_CodePage
Parameters
[in]pBarCodePointer to barcode structure.
[in]eCodePageThe code page (as enumeration value).
Return values
ERRCODEErrOk (0) in case of success. Non-zero if error occurred

© 2026 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on for TBarCode Library 11 with doxygen 1.15.0