Method SetRichStyle
SetRichStyle(long, long, ITextBoxRichAttr)
Sets the attributes for the given range.
bool SetRichStyle(long start, long end, ITextBoxRichAttr style)
Parameters
start
longend
longstyle
ITextBoxRichAttr
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).