# TrackedChange.ScrollTo Method

> Sets the current input position to the first position of the changed text and scrolls it into the visible part of the document.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 26.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > TrackedChange.ScrollTo Method
- **587 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/trackedchange/scrollto-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/trackedchange/scrollto-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/trackedchange/scrollto-method/llms-full.txt

---

### Description

Sets the current input position to the first position of the changed text and scrolls it into the visible part of the document.

### Syntax

#### ScrollTo()

Scrolls the beginning of the tracked change into the visible part of the document using a default position depending on the previous position.

```csharp
public bool ScrollTo();
```

```vbnet
Public Function ScrollTo() As Boolean
```

#### ScrollTo(InputPosition.ScrollPosition)

Scrolls the beginning of the tracked change into the visible part of the document using the specified position.

```csharp
public bool ScrollTo(InputPosition.ScrollPosition position);
```

```vbnet
Public Function ScrollTo(position As InputPosition.ScrollPosition) As Boolean
```

| Parameter | Description |
|---|---|
| position | Specifies an [InputPosition.ScrollPosition](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/inputposition/scrollposition-enumeration/llms-full.txt) value. |

### Return Value

The return value is true, if the document has been scrolled. Otherwise it is false.

### Examples

The following example scrolls the next tracked change into view.

```csharp
TrackedChange trackedChange = textControl.TrackedChanges.GetItem(true);
trackedChange?.ScrollTo();
```

```vbnet
Dim trackedChange As TrackedChange = textControl.TrackedChanges.GetItem(True)
If trackedChange IsNot Nothing Then trackedChange.ScrollTo()
```

---

## Nearby

- **Previous:** [TrackedChange.Save Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/trackedchange/save-method/llms-full.txt)
- **Next:** [TrackedChange.Select Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/trackedchange/select-method/llms-full.txt)
