ChangeStyleCommand.execute(style) Method
Executes the ChangeStyleCommand command with the specified parameter.
Declaration
execute(
style: string | StyleBase,
isParagraphStyle?: boolean
): boolean
Parameters
Name | Type | Description |
---|---|---|
style | string | StyleBase | An object that contains the style settings object, or the style name. |
isParagraphStyle | boolean | true to apply style settings to a paragraph; otherwise, false. |
Returns
Type | Description |
---|---|
boolean | true if the command has been successfully executed; false if the command execution has failed. |
Remarks
richEdit.commands.changeStyle.execute("Hyperlink");
See Also