TextView.SetRulerVisible
------------------------

Sets whether ruler is visible.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [TextView](component_TextView.md) | [9.2](newinversion92.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "TextView.SetRulerVisible"; TextView; Value ) 

**MBS**( **"TextView.SetRulerVisible"** /\* Sets whether ruler is visible. \*/  
**$TextView**; /\* The reference number to the text view. \*/   
**$Value**) /\* The new setting.  
Pass 1 to show ruler or 0 to hide it. e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| TextView | The reference number to the text view. | $textview |
| Value | The new setting.   Pass 1 to show ruler or 0 to hide it. | 1 |

### Result

Returns OK or error.

### Description

Sets whether ruler is visible.  
### See also

- [TextView.GetRulerVisible](TextViewGetRulerVisible.md)
- [TextView.SetVisible](TextViewSetVisible.md)

### Example Databases

- [Text functions/TextView](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Text%20functions/TextView.shtml#5ScriptAnchor_)

This function checks for a license.

Created 15th April 2019 , last changed 28th November 2019

  
[TextView.SetReadOnly](TextViewSetReadOnly.md) - [TextView.SetSelectedHTMLText](TextViewSetSelectedHTMLText.md)

[HTML Version](TextViewSetRulerVisible.shtml)