# EnablePageMargins Property

> Enables or disables setting the page margins with a TXRulerBar: True, the default, lets users set the page margins on the ruler, False disables it.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXRulerBar > EnablePageMargins Property
- **124 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txrulerbar/enablepagemargins-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txrulerbar/enablepagemargins-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txrulerbar/enablepagemargins-property/llms-full.txt

---

Enables or disables the setting of page margins. If the property's value is true, the setting of page margins is enabled.

Introduced: 13.0.

### Syntax

```vbscript
TXRulerBar.EnablePageMargins [= boolean]
```

| Setting | Description |
|---|---|
| True | (Default) Allows a ruler bar to set page margins. |
| False | The setting of page margins is disabled. |

### Data Types

Boolean.

### See Also

- [Programming Category: Tool Bars](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/toolbars/llms-full.txt)

---

## Nearby

- **Previous:** [Enabled Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txrulerbar/enabled-property/llms-full.txt)
- **Next:** [FormulaMode Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txrulerbar/formulamode-property/llms-full.txt)
