TX Text Control .NET Server

ScrollPadding Field

Field|Introduced in 21.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

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

public int ScrollPadding { get; }

Examples

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

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