ITextRange::ScrollIntoView method

Scrolls the specified range into view.

Syntax


HRESULT ScrollIntoView(
   long bStart
);

Parameters

bStart

Type: long

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

ValueMeaning
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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

Reference
ITextRange
Conceptual
Text Object Model

 

 

Show: