Gets the amount the document has been scrolled. The direction is determined through the ScrollOrientation property. When the distance is less than zero the document is scrolled down or to the right, otherwise the document is scrolled up or to the left.

Syntax

public int ScrollDistance { get; }
Public ReadOnly Property ScrollDistance() As Integer

Limitations

Read only.