# Javascript: TXTextControl.TextField.bounds Property

> Obsolete. This property will be removed in one of the next versions. The bounding rectangle of a text field. The bounding rectangle is the smallest rectangle which contains all characters of the field's text.

> **Note:** This is deprecated and should not be used in new work.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 25.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TXTextControl.TextField.bounds Property
- **220 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol-textfield/bounds-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol-textfield/bounds-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol-textfield/bounds-property/llms-full.txt

---

### Description

`Obsolete. This property will be removed in one of the next versions.` The bounding rectangle of a text field. The bounding rectangle is the smallest rectangle which contains all characters of the field's text.

### Syntax

```javascript
<Rectangle> TXTextControl.TextField.bounds
```

### Examples

The following example demonstrates `TXTextControl.TextField.bounds` in a practical document-editing workflow. Obsolete. This property will be removed in one of the next versions. The bounding rectangle of a text field. The bounding rectangle is the smallest rectangle which contains all characters of the field's text.

```javascript
function inspectBounds(textField) {
    const bounds = textField.bounds;
    console.log("bounds:", bounds);
}
```

### Limitations

Read Only.

---

## Nearby

- **Previous:** [TXTextControl.TextField Object](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol-textfield/llms-full.txt)
- **Next:** [Javascript: TXTextControl.TextField Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol-textfield/constructor/llms-full.txt)
