# TextViewLocationChangedCallback Function

> Callback function for the textViewLocationChanged event.

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

---

### Description

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

### Syntax

```javascript
function(<TextViewLocationChangedEventArgs> args)
```

### Examples

The following example demonstrates `TextViewLocationChangedCallback` in a practical document-editing workflow. Callback function for the textViewLocationChanged event.

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

---

## Nearby

- **Previous:** [Javascript: TextViewGeneratorColors.setLightShadowColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/setlightshadowcolor-method/llms-full.txt)
- **Next:** [TextViewLocationChangedEventArgs Object](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewlocationchangedeventargs/llms-full.txt)
