Parameters
- viewPnt
- the current mouse point, in view coordinates
As soon ComputeAutoScrollDocPosition returns a new DocPosition value, this method starts a Timer
that waits for AutoScrollDelay milliseconds. After waiting, it repeatedly sets DocPosition to the latest ComputeAutoScrollDocPosition value, until the position does not change (presumably because the LastInput's view point is no longer in the autoscroll margin). Setting this view's DocPosition occurs each AutoScrollTime milliseconds.
This method is normally called by those tools that want to support auto-scrolling during a mouse move, such as GoToolDragging.DoMouseMove or GoToolLinking.DoMouseMove. The timer is stopped when the mouse leaves this view.