# ViewMode Property

> Returns or sets how the TXTextControl displays its text: 0 normal view, 2 page view with page borders, 3 floating text (default) or 4 simple control.

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

---

Returns or sets the mode in which Text Control displays its text contents. See [Text Formatting and Views](https://docs.textcontrol.com/tx-text-control-activex/document-editor/viewing/llms-full.txt) for more information.

### Syntax

```vbscript
TXTextControl.ViewMode [= value]
```

| Setting | Description |
|---|---|
| 0 - Normal View | Do not display page borders, margins and gaps. |
| 2 - Page View | Displays a three-dimensional view of the document's pages. |
| 3 - Floating Text | (Default) The text is formatted depending on the control's window width. Invisible text can be displayed using a vertical scrollbar. |
| 4 - Simple Control | The text is formatted depending on the control's window width and height. There is no scroll interface to scroll to invisible text. |

### Data Types

Integer.

### See Also

- [PageWidth Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagewidth-property/llms-full.txt)
- [PageHeight Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageheight-property/llms-full.txt)
- [Programming Category: Control Settings](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/control-settings/llms-full.txt)

---

## Nearby

- **Previous:** [VExpand Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/vexpand-event/llms-full.txt)
- **Next:** [VScroll Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/vscroll-event/llms-full.txt)
