ITextRange::ScrollIntoView method (tom.h)

Scrolls the specified range into view.

Syntax

HRESULT ScrollIntoView(
  long Value
);

Parameters

Value

Type: long

Flag specifying the end to scroll into view. It can be one of the following.

Value Meaning
tomEnd
Scrolls the end character position to appear on the bottom line.
tomStart
Scrolls the start character position to appear on the top line. (Default value).
tomNoUpScroll
tomNoVpScroll

Return value

Type: HRESULT

The method returns an HRESULT value. If the method succeeds, it returns S_OK. If the method fails, it returns S_FALSE.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header tom.h
DLL Msftedit.dll

See also

Conceptual

ITextRange

Reference

Text Object Model