Table of Contents

Method SetRichStyle

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetRichStyle(long, long, ITextBoxRichAttr)

Sets the attributes for the given range.

bool SetRichStyle(long start, long end, ITextBoxRichAttr style)

Parameters

start long
end long
style ITextBoxRichAttr

Returns

bool

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).