# CanDocumentFormat Property

> Returns a Boolean telling whether page and section formatting can be changed, depending on the DocumentPermissions property and the current edit mode.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > CanDocumentFormat Property
- **128 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/candocumentformat-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/candocumentformat-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/candocumentformat-property/llms-full.txt

---

Informs whether page and section formatting attributes can be changed. The property's value depends on the [TXTextControl.DocumentPermissions](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/documentpermissions-property/llms-full.txt) property and the currently set [edit mode](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editmode-property/llms-full.txt).

Introduced: 25.0.

### Syntax

```vbscript
TXTextControl.CanDocumentFormat
```

### Data Types

Boolean.

### Limitations

Read only, run time only.

### See Also

- [Programming Category: Restricted Document Access](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/restricted-access/llms-full.txt)

---

## Nearby

- **Previous:** [CanCopy Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/cancopy-property/llms-full.txt)
- **Next:** [CanEdit Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canedit-property/llms-full.txt)
