ScrollLocation Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
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; }Public Property ScrollLocation As PointExamples
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.
textControl.ScrollLocation = new System.Windows.Point(20, 20);
Console.WriteLine($"Scroll Location used by Text Control: {textControl.ScrollLocation}");textControl.ScrollLocation = New System.Windows.Point(20, 20)
Console.WriteLine($"Scroll Location used by Text Control: {textControl.ScrollLocation}")Limitations
Runtime only.