SetFontSize sets font size to the whole text or to a part of text in the position interval indicated by optional parameters 'startPos' and 'endPos'.
Parameters |
Description |
float fontSize |
Size of the font to be applied to the text, in pixels. May be fractional. |
UPInt startPos = 0 |
Starting position in the the text from where text font size is changed. |
UPInt endPos = UPInt(-1) |
Ending position in the text till which the text font size is changed. |