# ObjectGetZoom Event

> Occurs when the zoom factor of an object inserted through its hWnd property is requested; the application copies the zoom factor to the ZoomFactor parameter.

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

---

Occurs when an object's zoom factor is requested. This event is sent only for objects that have been inserted via their hWnd property.

### Syntax

```vbscript
ObjectGetZoom(ObjectId, ZoomFactor)
```

### Parameters

| Parameter | Description |
|---|---|
| ObjectId | Is the identifier of the object, the zoom factor of which is requested. |
| ZoomFactor | The zoom factor of the object must be copied to this variable. |

### Data Types

| Name | Data type |
|---|---|
| ObjectId | Integer |
| ZoomFactor | Integer |

### See Also

- [ObjectSetZoom Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectsetzoom-event/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:** [ObjectGetSelected Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectgetselected-method/llms-full.txt)
- **Next:** [ObjectHeight Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectheight-property/llms-full.txt)
