Method SetStyle
SetStyle(long, long, ITextBoxTextAttr)
Changes the style of the given range.
bool SetStyle(long start, long end, ITextBoxTextAttr style)
Parameters
start
longThe start of the range to change.
end
longThe end of the range to change.
style
ITextBoxTextAttrThe new style for the range.
Returns
- bool
true
on success,false
if 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.