# TextFrameInternalMargin Property

> Returns or sets the left, top, right or bottom distance in twips between the border line and the text of the text frame determined by ObjectCurrent.

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

---

Specifies the distance (in [twips](https://docs.textcontrol.com/tx-text-control-activex/document-editor/viewing/#measure-in-twips)) between a text frame's border line and the text. The [ObjectCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectcurrent-property/llms-full.txt) property determines the text frame.

Introduced: 12.0.

### Syntax

```vbscript
TXTextControl.TextFrameInternalMargin(index) [= value]
```

### Parameters

| Parameter | Description |
|---|---|
| index | Specifies one of the four possible margins: left (1), top (2), right (3), bottom (4). |

### Data Types

Integer.

### Limitations

Run time only.

### See Also

- [Programming Category: Images, Text Frames, Signature Fields and OLE Objects](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/images-objects/llms-full.txt)

---

## Nearby

- **Previous:** [TextFrameInsertFixed Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/textframeinsertfixed-method/llms-full.txt)
- **Next:** [TextFrameMarkerLines Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/textframemarkerlines-property/llms-full.txt)
