TX Text Control .NET for Windows Forms

ScrollLocation Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

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

public Point ScrollLocation { get; set; }

Examples

The following example uses TextControl.ScrollLocation to configure scroll location as part of the text control workflow. The change is then applied to the active document or user interface.

textControl.ScrollLocation = new System.Drawing.Point(20, 20);
textControl.Update();

Limitations

Runtime only.

Further Reading

  • Windows Forms: Adding Margins to FloatingText ViewMode –