Skip to main content
A newer version of this page is available. .

ChangeFontSizeCommand.execute(fontSize) Method

Executes the ChangeFontSizeCommand command with the specified parameter.

Declaration

execute(
    fontSize: number
): boolean

Parameters

Name Type Description
fontSize number

An integer number specifying 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