|
LONG BCGetActiveTextIndex |
( |
t_BarCode * |
pBarCode |
) |
|
Gets the currently active text index.
Returns the index of the currently active/selected text.
A return value of
- 0 ... means that the human readable text is active (this is the default)
- >0 ... means that the extra text with given index [1 .. n] is active
The user can only change the settings 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()
- Parameters:
-
[in] | pBarCode | Pointer to barcode structure. |
- Return values:
-
| LONG | The index of the currently active text setting. |
|