TBarCode Library 11  TBarCode Library 11
dataapi.cpp File Reference

Public API functions for setting barcode data. More...

Functions

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

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
https://www.tec-it.com
Copyright© by TEC-IT Datenverarbeitung GmbH

© 2021 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Mar 24 2021 08:45:35 for TBarCode Library 11 with doxygen 1.8.8