ChangeFontFormattingCommand.execute(settings) Method
Executes the ChangeFontFormattingCommand command with the specified parameter.
Declaration
execute(
settings: FontFormattingSettings
): boolean
Parameters
Name | Type | Description |
---|---|---|
settings | FontFormattingSettings | A FontFormattingSettings object specifying font formatting settings. |
Returns
Type | Description |
---|---|
boolean |
|
Remarks
Usage example:
richEdit.commands.changeFontFormatting.execute({strikeout: true, size: 25, foreColor: "red"});
See Also