# TextViewLocationChangedEventArgs Object

> The event argument object for the textViewLocationChanged event.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 25.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > TextViewLocationChangedEventArgs Object
- **262 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewlocationchangedeventargs/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewlocationchangedeventargs/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewlocationchangedeventargs/llms-full.txt

---

### Description

The event argument object for the [textViewLocationChanged event](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/addeventlistener-method/llms-full.txt).

### Syntax

```javascript
{
   location: <Point>
}
```

### Examples

The following example demonstrates `TextViewLocationChangedEventArgs` in a practical document-editing workflow. The event argument object for the textViewLocationChanged event.

```javascript
function handleTextViewLocationChanged(args) {
    console.log("location:", args.location);
}
```

---

## In This Section

- [Javascript: TextViewLocationChangedEventArgs.location Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewlocationchangedeventargs/location-property/llms-full.txt): The new text view location in pixels.

---

## Nearby

- **Previous:** [TextViewLocationChangedCallback Function](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewlocationchangedcallback/llms-full.txt)
- **Next:** [Javascript: TextViewLocationChangedEventArgs.location Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewlocationchangedeventargs/location-property/llms-full.txt)
