TBarCode Library 11  TBarCode Library 11
textapi.cpp File Reference

Public API functions for human readable text. More...

Functions

LONG BCGetMaximumTextIndex ()
 Gets the maximum text index. More...
 
LONG BCGetActiveTextIndex (t_BarCode *pBarCode)
 Gets the currently active text index. More...
 
ERRCODE BCSetActiveTextIndex (t_BarCode *pBarCode, LONG nIndex)
 Sets the currently active text index. More...
 
LOGFONTA * BCGetLogFont (t_BarCode *pBarCode)
 Gets the font of the currently active text object (usually the human readable text - Windows only). More...
 
ERRCODE BCSetLogFont (t_BarCode *pBarCode, const LOGFONTA *lf)
 Sets the font of the currently active text object (usually the human readable text - Windows only). More...
 
ERRCODE BCSetPrintText (t_BarCode *pBarCode, BOOL bReadable, BOOL bAbove)
 Sets options concerning the currently active text (usually the human readable text). More...
 
BOOL BCGetPrintText (t_BarCode *pBarCode)
 Determines if the currently active text object (usually the human readable text) is visible. More...
 
BOOL BCGetTextAbove (t_BarCode *pBarCode)
 Determines if human-readable text is printed below or above the barcode. More...
 
LPCSTR BCGetDisplayTextA (t_BarCode *pBarCode)
 Retrieves the content of the currently active text object (usually the human readable text). More...
 
LPCWSTR BCGetDisplayTextW (t_BarCode *pBarCode)
 
ERRCODE BCSetDisplayTextA (t_BarCode *pBarCode, LPCSTR szText)
 Sets the content of the currently active text object (usually the human readable text). More...
 
ERRCODE BCSetDisplayTextW (t_BarCode *pBarCode, LPCWSTR szText)
 
e_BCAlign BCGetTextAlignment (t_BarCode *pBarCode)
 Gets the alignment of the currently active text object (usually the human readable text). More...
 
ERRCODE BCSetTextAlignment (t_BarCode *pBarCode, e_BCAlign eAlign)
 Sets the alignment of the currently active text object (usually the human readable text). More...
 
LONG BCGetTextDist (t_BarCode *pBarCode)
 Retrieves the distance between the human readable text and the barcode. More...
 
ERRCODE BCSetTextDist (t_BarCode *pBarCode, LONG nTextDist)
 Sets the distance between the human readable text and the barcode. More...
 
CHAR * BCGetFontNameA (t_BarCode *pBarCode)
 Gets the font of the currently active text object (usually the human readable text). More...
 
WCHAR * BCGetFontNameW (t_BarCode *pBarCode)
 
ERRCODE BCSetFontNameA (t_BarCode *pBarCode, const CHAR *szName)
 Sets the font of the currently active text object (usually the human readable text). More...
 
ERRCODE BCSetFontNameW (t_BarCode *pBarCode, const WCHAR *szName)
 
INT BCGetFontHeight (t_BarCode *pBarCode)
 Gets the font size in Point of the currently active text object (usually the human readable text). More...
 
ERRCODE BCSetFontHeight (t_BarCode *pBarCode, INT nHeight)
 Sets the font size [points] of the currently active text object (usually the human readable text). More...
 
RECT BCGetTextPosition (t_BarCode *pBarCode)
 Gets the position of the currently active text object. More...
 
BOOL BCGetTextClipping (t_BarCode *pBarCode)
 Determines if the currently active text object (usually the human readable text) is clipped. More...
 
BOOL BCIsWordWrappingEnabled (t_BarCode *pBarCode)
 [NOT IMPLEMENTED YET!]
Determines if word wrapping is enabled for the currently active text object (usually the human readable text). More...
 
ERRCODE BCSetTextPosition (t_BarCode *pBarCode, RECT *pRect, BOOL bClipping, BOOL bWordWrap)
 Sets the position of the currently active text object. More...
 
e_Degree BCGetTextRotation (t_BarCode *pBarCode)
 Gets the the rotation of the currently active text object. More...
 
ERRCODE BCSetTextRotation (t_BarCode *pBarCode, e_Degree eRotation)
 Sets the the rotation of the currently active text object. More...
 
DOUBLE BCGetCharacterSpacing (t_BarCode *pBarCode)
 Gets the the character spacing of the currently active text object. More...
 
ERRCODE BCSetCharacterSpacing (t_BarCode *pBarCode, DOUBLE spacing)
 Sets the the character spacing of the currently active text object. More...
 

Detailed Description

Public API functions for human readable text.

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:57 for TBarCode Library 11 with doxygen 1.9.1