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