Skip to main content

ShowFieldCodesCommand.execute Method

Executes the ShowFieldCodesCommand command with the specified parameter.

Declaration

execute(
    showFieldCodes?: boolean
): boolean

Parameters

Name Type Description
showFieldCodes boolean

true to display field codes, false to hide field codes.

Returns

Type Description
boolean

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

Remarks

Usage example:

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