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

InsertSymbolCommand.execute(symbol, fontName) Method

Executes the InsertSymbolCommand command with the specified parameters.

Declaration

execute(
    symbol: string,
    fontName: string
): boolean

Parameters

Name Type Description
symbol string

A string value specifying symbols to insert.

fontName string

A string value specifying the font of symbols to insert.

Returns

Type Description
boolean

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

Remarks

Usage example:

richEdit.commands.insertSymbol.execute("an example text", "Arial");
See Also