TreeText::SetFontStyle

TreeText::SetFontStyle
void SetFontStyle(FontStyle, UPInt startPos = 0, UPInt endPos = UPInt(-1));
Description

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
Parameters 
Description 
UPInt startPos = 0 
The starting position in the text from where the text font style is changed. 
UPInt endPos = UPInt(-1) 
The ending position in the text till which the text font style is changed. 
FontStyle 
Font style to be applied to the text.