Functions for handling the barcode data. More...
Functions | |
LONG | BCGetMaxLenOfData (e_BarCType eType) |
Returns the number of characters for a specified barcode. | |
ERRCODE | BCSetTextEBCDIC (INT nCodepage, t_BarCode *pBarCode, LPCSTR szText, LONG nLen) |
Sets barcode text (EBCDIC version). | |
ERRCODE | BCCheck (t_BarCode *pBarCode) |
Checks barcode input data for validity. | |
BOOL | BCGetTranslateEsc (t_BarCode *pBarCode) |
Gets current state information regarding escape-sequence translation. | |
ERRCODE | BCSetTranslateEsc (t_BarCode *pBarCode, BOOL bTranslate) |
Activates/deactivates the translation of escape-sequences. | |
e_Compression | BCGetCompression (t_BarCode *pBarCode) |
Returns mode of data compression for barcode content. | |
ERRCODE | BCSetCompression (t_BarCode *pBarCode, e_Compression eCompression) |
Sets compression mode for barcode content. | |
BOOL | BCIsTextUnicode (t_BarCode *pBarCode) |
Returns type of current input data. | |
LONG | BCGetTextLen (t_BarCode *pBarCode) |
Gets length of barcode input data. | |
LONG | BCGetTextLenCompressed (t_BarCode *pBarCode) |
Gets length of barcode input data (after compression). | |
e_EncodingMode | BCGetEncodingMode (t_BarCode *pBarCode) |
Gets the data encoding mode. | |
ERRCODE | BCSetEncodingMode (t_BarCode *pBarCode, e_EncodingMode eMode) |
Sets the data encoding mode. | |
e_CodePage | BCGetCodePage (t_BarCode *pBarCode) |
Gets the input data encoding code page. | |
UINT | BCGetCodePageCustom (t_BarCode *pBarCode) |
Gets the input data encoding code page. | |
ERRCODE | BCSetCodePage (t_BarCode *pBarCode, e_CodePage eCodePage) |
Sets the input data encoding code page. | |
ERRCODE | BCSetCodePageCustom (t_BarCode *pBarCode, UINT nCodePage) |
Sets the input data encoding code page. | |
BOOL | BCGetAutoCorrect (t_BarCode *pBarCode) |
Gets auto-correct option for Code 2 of 5 interleaved. | |
ERRCODE | BCSetAutoCorrect (t_BarCode *pBarCode, BOOL bAutoCorrect) |
Sets auto-correct option for Code 2 of 5 interleaved. | |
| |
LPCSTR | BCGetFormatA (t_BarCode *pBarCode) |
Gets current format string. | |
LPCWSTR | BCGetFormatW (t_BarCode *pBarCode) |
Gets current format string. | |
| |
ERRCODE | BCSetFormatA (t_BarCode *pBarCode, LPCSTR szFormat) |
Sets format string applied to barcode data prior encoding. | |
ERRCODE | BCSetFormatW (t_BarCode *pBarCode, LPCWSTR szFormat) |
Sets format string applied to barcode data prior encoding. | |
| |
ERRCODE | BCSetTextA (t_BarCode *pBarCode, LPCSTR szText, LONG nLen) |
Sets the barcode data (ASCII version). | |
ERRCODE | BCSetTextW (t_BarCode *pBarCode, LPCWSTR szText, LONG nLen) |
Sets the barcode data (ASCII version). | |
| |
LPCSTR | BCGetTextA (t_BarCode *pBarCode) |
Gets barcode text. | |
LPCWSTR | BCGetTextW (t_BarCode *pBarCode) |
Gets barcode text. | |
| |
LPCSTR | BCGetDefaultDataByTypeA (e_BarCType eBCType) |
Returns the default data according to given bar code type. | |
LPCWSTR | BCGetDefaultDataByTypeW (e_BarCType eBCType) |
Returns the default data according to given bar code type. |
Functions for handling the barcode data.
Call them after BCAlloc() but before BCCreate()
© 2008 All rights reserved by TEC-IT Datenverarbeitung GmbH |
![]() |
Generated on Thu Jun 30 16:34:47 2011 for TEC-IT TBarCode Library 10 with doxygen 1.6.2 |