TBarCode Library 11  TBarCode Library 11
Barcode Data

Functions for handling the barcode data. More...

Functions

LONG _stdcall BCGetMaxLenOfData (e_BarCType eType)
 Returns the number of characters for a specified barcode.
ERRCODE _stdcall BCSetTextEBCDIC (INT nCodepage, t_BarCode *pBarCode, LPCSTR szText, LONG nLen)
 Sets barcode text (EBCDIC version).
ERRCODE _stdcall BCCheck (t_BarCode *pBarCode)
 Checks barcode input data for validity.
BOOL _stdcall BCGetTranslateEsc (t_BarCode *pBarCode)
 Gets current state information regarding escape-sequence translation.
ERRCODE _stdcall BCSetTranslateEsc (t_BarCode *pBarCode, BOOL bTranslate)
 Activates/deactivates the translation of escape-sequences.
e_Compression _stdcall BCGetCompression (t_BarCode *pBarCode)
 Returns mode of data compression for barcode content.
ERRCODE _stdcall BCSetCompression (t_BarCode *pBarCode, e_Compression eCompression)
 Sets compression mode for barcode content.
BOOL _stdcall BCIsTextUnicode (t_BarCode *pBarCode)
 Returns type of current input data.
LONG _stdcall BCGetTextLen (t_BarCode *pBarCode)
 Gets length of barcode input data.
LONG _stdcall BCGetTextLenCompressed (t_BarCode *pBarCode)
 Gets length of barcode input data (after compression).
e_EncodingMode _stdcall BCGetEncodingMode (t_BarCode *pBarCode)
 Gets the data encoding mode.
ERRCODE _stdcall BCSetEncodingMode (t_BarCode *pBarCode, e_EncodingMode eMode)
 Sets the data encoding mode.
e_CodePage _stdcall BCGetCodePage (t_BarCode *pBarCode)
 Gets the input data encoding code page.
UINT _stdcall BCGetCodePageCustom (t_BarCode *pBarCode)
 Gets the input data encoding code page.
ERRCODE _stdcall BCSetCodePage (t_BarCode *pBarCode, e_CodePage eCodePage)
 Sets the input data encoding code page.
ERRCODE _stdcall BCSetCodePageCustom (t_BarCode *pBarCode, UINT nCodePage)
 Sets the input data encoding code page.
BOOL _stdcall BCGetAutoCorrect (t_BarCode *pBarCode)
 Gets auto-correct option for Code 2 of 5 interleaved.
ERRCODE _stdcall BCSetAutoCorrect (t_BarCode *pBarCode, BOOL bAutoCorrect)
 Sets auto-correct option for input data.
LPCSTR _stdcall BCGetFormatA (t_BarCode *pBarCode)
 Gets current format string.
LPCWSTR _stdcall BCGetFormatW (t_BarCode *pBarCode)
 Gets current format string.
ERRCODE _stdcall BCSetFormatA (t_BarCode *pBarCode, LPCSTR szFormat)
 Sets format string applied to barcode data prior encoding.
ERRCODE _stdcall BCSetFormatW (t_BarCode *pBarCode, LPCWSTR szFormat)
 Sets format string applied to barcode data prior encoding.
ERRCODE _stdcall BCSetTextA (t_BarCode *pBarCode, LPCSTR szText, LONG nLen)
 Sets the barcode data (ASCII version).
ERRCODE _stdcall BCSetTextW (t_BarCode *pBarCode, LPCWSTR szText, LONG nLen)
 Sets the barcode data (ASCII version).
LPCSTR _stdcall BCGetTextA (t_BarCode *pBarCode)
 Gets barcode text.
LPCWSTR _stdcall BCGetTextW (t_BarCode *pBarCode)
 Gets barcode text.
LPCSTR _stdcall BCGetDefaultDataByTypeA (e_BarCType eBCType)
 Returns the default data according to given bar code type.
LPCWSTR _stdcall BCGetDefaultDataByTypeW (e_BarCType eBCType)
 Returns the default data according to given bar code type.

Detailed Description

Functions for handling the barcode data.

Call them after BCAlloc() but before BCCreate()