# ObjectPosX Property

> Sets or returns the horizontal position in twips of the current object, relative to its paragraph when anchored or to the page's left edge when fixed.

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

---

Gets or sets the image's, text frame's, signature field's or OLE object's horizontal position, in twips. The [ObjectCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectcurrent-property/llms-full.txt) property determines the object. If the object is anchored to a paragraph, the position is relative to left border of the paragraph. Otherwise, it is relative to the left edge of a page. If the object has a horizontal alignment or if it is inserted as character, this property returns zero. This property cannot be used with objects which are inserted as character.

Introduced: 15.1.

### Syntax

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

### Data Types

Integer.

### Limitations

Run time only.

### See Also

- [ObjectPosY Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectposy-property/llms-full.txt)
- [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:** [ObjectNext Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectnext-method/llms-full.txt)
- **Next:** [ObjectPosY Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectposy-property/llms-full.txt)
