# ObjectGetSelected Method

> Returns the identifier of the selected object, or zero, filtered by kind: fixed, as character, anchored, image, text frame, OLE object or signature field.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > ObjectGetSelected Method
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectgetselected-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectgetselected-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectgetselected-method/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectgetselected-method/#syntax)
- [Parameters](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectgetselected-method/#parameters)
- [Return Value](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectgetselected-method/#return-value)
- [Data Types](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectgetselected-method/#data-types)
- [Remarks](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectgetselected-method/#remarks)
- [See Also](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectgetselected-method/#see-also)

---

## Nearby

- **Previous:** [ObjectGethWnd Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectgethwnd-event/llms.txt)
- **Next:** [ObjectGetZoom Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectgetzoom-event/llms.txt)
