Resets all character based formatting attributes of the selected text to its default values. If nothing or more than one paragraph is selected, all paragraph based formatting attributes are also reset.

Introduced: 32.0.


public bool RemoveFormatting();
Public Function RemoveFormatting() As Boolean

Return Value

The return value is true, if the operation was successful. Otherwise, it is false.