SetFontStyle sets font style to the whole text or to a part of text in the position interval indicated by optional parameters 'startPos' and 'endPos'.
Parameters |
Description |
UPInt startPos = 0 |
Starting position in the the text from where text font style is changed. |
UPInt endPos = UPInt(-1) |
Ending position in the text till which the text font style is changed. |
FontStyle |
Font style to be applied to the text. |