Skip to main content

ShowHorizontalRulerCommand.execute Method

Executes the ShowHorizontalRulerCommand command with the specified parameter.

Declaration

execute(
    show?: boolean
): boolean

Parameters

Name Type Description
show boolean

true, to show the horizontal ruler; otherwise, false.

Returns

Type Description
boolean

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

Remarks

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