TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall BCSetCodePage ( t_BarCode pBarCode,
e_CodePage  eCodePage 
)

Sets the input data encoding code page.

If the data encoding mode is set to eEncMode_CodePage this function specifies in which code page the input data is encoded. Otherwise the code page is ignored. See e_EncodingMode and e_CodePage for a more detailed description.
If the this function returns eCodePage_Custom use the function BCGetCodePageCustom to receive the code page as a code page identifier.

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