Method SetStyle
SetStyle(long, long, ITextBoxTextAttr)
Changes the style of the given range.
bool SetStyle(long start, long end, ITextBoxTextAttr style)
Parameters
startlongThe start of the range to change.
endlongThe end of the range to change.
styleITextBoxTextAttrThe new style for the range.
Returns
- bool
trueon success,falseif an error occurred (this may also mean that the styles are not supported under this platform).
Remarks
If any attribute within style is not set, the corresponding attribute from GetDefaultStyle() is used.