[]
Removes specified tag from the C1TextRange.
public void RemoveTag(string tagName)
Type | Name | Description |
---|---|---|
string | tagName | Tag to remove from the C1TextRange. |
This example makes the selected text bold, if the value is True, or regular, if the value is False.
function SetStrong(bool value)
{
if (value)
_editor.Selection.ApplyTag("strong");
else
_editor.Selection.RemoveTag("strong");
}