Skip to main content
A newer version of this page is available. .

ClearFormattingCommand Members

A command to reset the selected text’s formatting to default.

Methods

Name Description
execute

Executes the ClearFormattingCommand command by imitating the corresponding end-user action made in the RichEdit’s UI.

May result in taking no action if the command’s state does not allow command execution. Use the object’s getState method to check the command state.

getState Inherited from CommandWithSimpleStateBase.
See Also