DrawText::SetUnderline

DrawText::SetUnderline
virtual void SetUnderline(bool underline, UPInt startPos = 0, UPInt endPos = UPInt(-1)) = 0;
Description

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

Parameters
Parameters 
Description 
bool underline 
A Boolean value of true sets underline to the text and a value of false clears the underline to the text. 
UPInt startPos = 0 
Starting position in the the text from where text is underlined. 
UPInt endPos = UPInt(-1) 
Ending position in the text till which the text is underlined.