# Javascript: TextFieldInfo.formattingBounds Property

> The formatting rectangle of a text field.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TextFieldInfo.formattingBounds Property
- **163 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textfieldinfo/formattingbounds-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textfieldinfo/formattingbounds-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textfieldinfo/formattingbounds-property/llms-full.txt

---

### Description

The formatting rectangle of a text field.

### Syntax

```javascript
<Rectangle> TextFieldInfo.formattingBounds
```

### Examples

The following example demonstrates `TextFieldInfo.formattingBounds` in a practical document-editing workflow. The formatting rectangle of a text field.

```javascript
function inspectFormattingBounds(textFieldInfo) {
    const formattingBounds = textFieldInfo.formattingBounds;
    console.log("formatting bounds:", formattingBounds);
}
```

---

## Nearby

- **Previous:** [Javascript: TextFieldInfo.editable Property](https://docs.textcontrol.com/ds-server/reference/javascript/textfieldinfo/editable-property/llms-full.txt)
- **Next:** [Javascript: TextFieldInfo.id Property](https://docs.textcontrol.com/ds-server/reference/javascript/textfieldinfo/id-property/llms-full.txt)
