TBarCode Library 11  TBarCode Library 11
ERRCODE TECIT_STDCALL BCSetActiveTextIndex ( t_BarCode pBarCode,
LONG  nIndex 
)

Sets the currently active text index.

The user can only change the setting of the text that is currently active.

That means that if the user calls the function BCSetActiveTextIndex(pBarCode, 1) all future calls will be applied to text object #1 until another text object is activated in the same manner.
Following functions are affected by BCSetActiveTextIndex():
BCSetDisplayText(), BCSetTextRotation(), BCSetLogFont(), BCSetTextAlignment(), BCSetTextPosition(), BCSetPrintText(), BCSetFontName(), BCSetFontHeight(), BCSetFontColor()
BCGetDisplayText(), BCGetTextRotation(), BCGetLogFont(), BCGetTextAlignment(), BCGetTextPosition(), BCGetPrintText(), BCGetFontName(), BCGetFontHeight(), BCGetFontColor(), BCGetTextClipping(), BCIsWordWrappingEnabled()
Note
By default the human readable text (index 0) is the active text.
You can change the position and size of an extra text but not that of the human readable text.
Parameters
[in]pBarCodePointer to barcode structure. A value of 0 ... means that the human readable text becomes active (this is the default) >0 ... means that the extra text with given index [1 .. n] becomes active
[in]nIndexThe new active text index.
Return values
ERRCODEErrOk (0) in case of success. Non-zero if error occurred

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