Skip to main content

ChangeFontStrikeoutCommand.execute Method

Executes the ChangeFontStrikeoutCommand command with the specified parameter.

#Declaration

TypeScript
execute(
    fontStrikeout?: boolean
): boolean

#Parameters

Name Type Description
fontStrikeout boolean

true to apply strikeout formatting to the text, false to remove strikeout 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.changeFontStrikeout.execute(true);
See Also