Method SetStyle
SetStyle(long, long, ITextBoxTextAttr)
Sets the attributes for the given range.
bool SetStyle(long start, long end, ITextBoxTextAttr style)
Parameters
start
longend
longstyle
ITextBoxTextAttr
Returns
Remarks
The end point of range is specified as the last character position of the span of text, plus one. So, for example, to set the style for a character at position 5, use the range (5,6).