TX Text Control .NET Server

Javascript: TXTextControl.showHorizontalRuler Method

Method

Description

Shows or hides the web editor's horizontal ruler bar.

Syntax

<void> TXTextControl.showHorizontalRuler([<boolean> show])

Parameters

ParameterDescription
show

Optional. Determines if the horizontal ruler bar is shown or hidden. The default value is true.

Examples

The following example demonstrates TXTextControl.showHorizontalRuler in a practical document-editing workflow. Shows or hides the web editor's horizontal ruler bar.

TXTextControl.showHorizontalRuler(true);