[]
Applies specified tag to the text range.
public void ApplyTag(string tagName)
Type | Name | Description |
---|---|---|
string | tagName | XHTML tag to apply to the current text range. |
This sample applies the "strong", or bold, style to the selected text.
C1TextRange range = c1Editor1.Selection;
range.ApplyTag("strong");