DS Server

Javascript: TXTextControl.showVerticalRuler Method

Method

Description

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

Syntax

<void> TXTextControl.showVerticalRuler([<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.showVerticalRuler in a practical document-editing workflow. Shows or hides the web editor's vertical ruler bar.

TXTextControl.showVerticalRuler(true);