[]
        
(Showing Draft Content)

C1.Win.C1Editor.C1TextRange.ClearFormatting

ClearFormatting Method

ClearFormatting()

Removes text and paragraph formatting from the text range.

Declaration
public void ClearFormatting()
Examples

The example shows how to clear any formatting of selected text.

private void button1_Click(object sender, EventArgs e)
{
editor.Selection.ClearFormatting();
}