Skip to main content
cut

RichEditCommands.changeParagraphBackColor Property

Gets a command to change the background color of paragraphs in a selected range.

#Declaration

TypeScript
get changeParagraphBackColor(): ChangeParagraphBackColorCommand

#Property Value

Type Description
ChangeParagraphBackColorCommand

An object that provides methods that execute the command and check its state.

#Remarks

Call the execute(color) method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

Usage examples:

richEdit.commands.changeParagraphBackColor.execute("red");
richEdit.commands.changeParagraphBackColor.execute("#FF0000");

Refer to the following section for more information: Client Commands.

See Also