Skip to main content

ChangeFontSizeCommand.execute(fontSize) Method

Executes the ChangeFontSizeCommand command with the specified parameter.

Declaration

execute(
    fontSize: number
): boolean

Parameters

Name Type Description
fontSize number

The font size in points.

Returns

Type Description
boolean

true if the command has been successfully executed; false if the command execution has failed.

Remarks

Usage example:

richEdit.commands.changeFontSize.execute(20);
See Also