Skip to main content

RichEditCommands.changeStyle Property

Gets a command to apply a character or paragraph style settings to text in a selected range.


readonly changeStyle: ChangeStyleCommand

Property Value

Type Description

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


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

You can access the character and paragraph style settings via the RichEditDocument.characterStylesInfo and RichEditDocument.paragraphStylesInfo arrays.


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

See Also