# ObjectDistance Property

> Sets or returns the left, top, right or bottom distance in twips between an image, text frame, signature field or OLE object and the text flowing around it.

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

---

Specifies the distance (in [twips](https://docs.textcontrol.com/tx-text-control-activex/document-editor/viewing/#measure-in-twips)) between an image, text frame, signature field or OLE object and the text that flows around it. This property cannot be used for objects which are inserted as character. The [ObjectCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectcurrent-property/llms-full.txt) property determines the object.

### Syntax

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

### Parameters

| Parameter | Description |
|---|---|
| index | Specifies one of the four possible distances: 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:** [ObjectDescriptiveText Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectdescriptivetext-property/llms-full.txt)
- **Next:** [ObjectGetData Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectgetdata-event/llms-full.txt)
