TXTextControl.TrackedChange.ScrollTo Method

Sets the current input position to the first position of the changed text and scrolls it into the visible part of the document.

ScrollTo()

Scrolls the beginning of the tracked change into the visible part of the document using a default position depending on the previous position.

[C#]
public bool ScrollTo();
[Visual Basic]
Public Function ScrollTo() As Boolean

ScrollTo(ScrollPosition)

Scrolls the beginning of the tracked change into the visible part of the document using the specified position.

[C#]
public void ScrollTo(InputPosition.ScrollPosition position);
[Visual Basic]
Public Sub ScrollTo(position As InputPosition.ScrollPosition)
Parameter Description
position

Specifies an InputPosition.ScrollPosition value.

Return Value

The return value is true, if the document has been scrolled. Otherwise it is false.

See Also