Javascript: TXTextControl.showHorizontalRuler Method
Description
Shows or hides the web editor's horizontal ruler bar.
Syntax
<void> TXTextControl.showHorizontalRuler([<boolean> show])Parameters
| Parameter | Description |
|---|---|
| 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);