Window.ScrollIntoView(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Scrolls through the document window so the specified range or shape is displayed in the document window.
public void ScrollIntoView (object obj, ref object Start);
abstract member ScrollIntoView : obj * obj -> unit
Public Sub ScrollIntoView (obj As Object, Optional ByRef Start As Object)
Parameters
- Start
- Object
Optional Boolean. True if the top left corner of the range or shape appears at the top left corner of the document window. False if the bottom right corner of the range or shape appears at the bottom right corner of the document window. The default value is True.
Remarks
If the range or shape is larger than the document window, the Start
argument specifies which portion of the range or shape displays or gets initial focus. This method cannot be used with outline view.