ITextRangeProvider.ScrollIntoView(Boolean) 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.
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.