InfoConnect API Guide
Attachmate.Reflection.Web.Msie Namespace / IWebElement Interface / ScrollIntoView Method
If true, the top of the object will be displayed at the top of the window. If false, the bottom of the object will be displayed at the bottom of the window.


In This Topic
    ScrollIntoView Method
    In This Topic
    Scrolls through the document that contains this element until the top or bottom edge of the element is aligned with the top of the document's window.
    Syntax
    'Declaration
     
    
    Sub ScrollIntoView( _
       ByVal alignWithTop As Boolean _
    ) 
    'Usage
     
    
    Dim instance As IWebElement
    Dim alignWithTop As Boolean
     
    instance.ScrollIntoView(alignWithTop)
    void ScrollIntoView( 
       bool alignWithTop
    )

    Parameters

    alignWithTop
    If true, the top of the object will be displayed at the top of the window. If false, the bottom of the object will be displayed at the bottom of the window.
    See Also