# TextControl.ScrollLocation Property

> Gets or sets the coordinates, in twips, of the upper-left corner of the document's visible part relative to the upper-left corner of the complete document.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > TextControl.ScrollLocation Property
- **377 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/scrolllocation-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/scrolllocation-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/scrolllocation-property/llms-full.txt

---

### Description

Gets or sets the coordinates, in twips, of the upper-left corner of the document's visible part relative to the upper-left corner of the complete document.

### Syntax

```csharp
public Point ScrollLocation { get; set; }
```

```vbnet
Public Property ScrollLocation As Point
```

### Examples

The following example uses `TextControl.ScrollLocation` to configure scroll location as part of the text control workflow. The configured value is checked before the workflow continues.

```csharp
textControl.ScrollLocation = new System.Windows.Point(20, 20);
Console.WriteLine($"Scroll Location used by Text Control: {textControl.ScrollLocation}");
```

```vbnet
textControl.ScrollLocation = New System.Windows.Point(20, 20)
Console.WriteLine($"Scroll Location used by Text Control: {textControl.ScrollLocation}")
```

### Limitations

Runtime only.

---

## Nearby

- **Previous:** [TextControl.Save Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/save-method/llms-full.txt)
- **Next:** [TextControl.SectionChanged Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/sectionchanged-event/llms-full.txt)
