Removes text and paragraph formatting from the text range.

Namespace:  C1.Win.XmlEditor
Assembly:  C1.Win.XmlEditor.2 (in C1.Win.XmlEditor.2.dll)

Syntax

C#
public void ClearFormatting()
Visual Basic (Declaration)
Public Sub ClearFormatting

Examples

The example shows how to clear any formatting of selected text.
Copy CodeC#
privatevoid button1_Click(object sender, EventArgs e)
{
   editor.Selection.ClearFormatting();
}

See Also