DrawText::SetFont

DrawText::SetFont
virtual void SetFont(const char* pfontName, UPInt startPos = 0, UPInt endPos = UPInt(-1)) = 0;
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 to the text. 
UPInt startPos = 0 
Starting position in the the text from where text font is changed. 
UPInt endPos = UPInt(-1) 
Ending position in the text till which the text font is changed.