# Javascript: TXTextControl.showVerticalRuler Method

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

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Method
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TXTextControl.showVerticalRuler Method
- **193 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/showverticalruler-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/showverticalruler-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/showverticalruler-method/llms-full.txt

---

### Description

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

### Syntax

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

```javascript
TXTextControl.showVerticalRuler(true);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.showStatusBar Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/showstatusbar-method/llms-full.txt)
- **Next:** [Javascript: TXTextControl.sideBarToggleButton Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/sidebartogglebutton-property/llms-full.txt)
