# View.ScrollPadding Field

> This property gets the minimum amout of the visible page background. In the PageView view mode a TextControl displays pages with a border and a background outside of the pages.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Field
- **Introduced:** 21.0
- **Namespace:** `TXTextControl.ServerVisualisation`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Server.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.ServerVisualization > View.ScrollPadding Field
- **317 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/view/scrollpadding-field/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/view/scrollpadding-field/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/view/scrollpadding-field/llms-full.txt

---

### Description

This property gets the minimum amout of the visible page background. In the PageView view mode a TextControl displays pages with a border and a background outside of the pages.

### Syntax

```csharp
public int ScrollPadding { get; }
```

```vbnet
Public ReadOnly Property ScrollPadding As Integer
```

### Examples

The following example includes the scroll padding value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Scroll Padding: {view.ScrollPadding}");
Console.WriteLine("View is ready for use.");
```

```vbnet
Console.WriteLine($"Scroll Padding: {view.ScrollPadding}")
Console.WriteLine("View is ready for use.")
```

---

## Nearby

- **Previous:** [View.OnZoomed Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/view/onzoomed-method/llms-full.txt)
- **Next:** [View.Size Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/view/size-property/llms-full.txt)
