Share via


ITextRangeProvider.ScrollIntoView(Boolean) Method

Definition

Causes the text control to scroll vertically until the text range is visible in the viewport.

public:
 void ScrollIntoView(bool alignToTop);
void ScrollIntoView(bool const& alignToTop);
public void ScrollIntoView(bool alignToTop);
function scrollIntoView(alignToTop)
Public Sub ScrollIntoView (alignToTop As Boolean)

Parameters

alignToTop
Boolean

bool

true if the text control should be scrolled so that the text range is flush with the top of the viewport; false if the text range is flush with the bottom of the viewport.

Applies to