dataapi.cpp File Reference

Public API functions for setting 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 barcode text (ASCII version).
ERRCODE BCSetTextW (t_BarCode *pBarCode, LPCWSTR szText, LONG nLen)
 Sets barcode text (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.


Detailed Description

Public API functions for setting barcode data.

Required include file: "tbarcode.h"

Author:
TEC-IT Datenverarbeitung GmbH
Wagnerstr. 6, 4400 Steyr, AUSTRIA/EUROPE
http://www.tec-it.com
Copyright� by TEC-IT Datenverarbeitung GmbH

© 2008 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Tue May 5 15:50:25 2009 for TEC-IT TBarCode Library 9.2 with doxygen 1.5.3