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


public bool ScrollTo();
Public Function ScrollTo() As Boolean


public void ScrollTo(InputPosition.ScrollPosition position);
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.