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

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

© 2023 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Apr 10 2024 13:55:32 for TBarCode Library 11 with doxygen 1.9.1