ChangeFontSuperscriptCommand.execute Method

Executes the ChangeFontSuperscriptCommand command with the specified parameter.

Declaration

execute(
    fontSuperscript?: boolean
): boolean

Parameters

Name Type Description
fontSuperscript boolean

true to apply superscript formatting to the text, false to remove superscript formatting.

Returns

Type Description
boolean

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

Remarks

Usage example:

richEdit.commands.changeFontSuperscript.execute(true);
See Also