[]
        
(Showing Draft Content)

C1.Win.C1Editor.C1TextRange.RemoveTag

RemoveTag Method

RemoveTag(string)

Removes specified tag from the C1TextRange.

Declaration
public void RemoveTag(string tagName)
Parameters
Type Name Description
string tagName

Tag to remove from the C1TextRange.

Examples

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");
}