Skip to main content
cut

RichEditCommands.changePageColor Property

Gets a command to set the background color of all pages contained in the document.

Declaration

get changePageColor(): ChangePageColorCommand

Property Value

Type Description
ChangePageColorCommand

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.changePageColor.execute("red");
richEdit.commands.changePageColor.execute("#FF0000");

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

See Also