TreeText::SetFont

TreeText::SetFont
void SetFont(const char* pfontName, UPInt startPos = 0, UPInt endPos = UPInt(-1));
Description

SetFont sets font to whole text or to a part of text in the position interval indicated by optional parameters 'startPos' and 'endPos'.

Parameters
Parameters 
Description 
const char* pfontName 
Pointer to the font name applied to the text. 
UPInt startPos = 0 
The starting position in the text from where the text font is changed. 
UPInt endPos = UPInt(-1) 
The ending position in the text till which the text font is changed.