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 |
---|---|
Scrolls the end character position to appear on the bottom line. | |
Scrolls the start character position to appear on the top line. (Default value). | |
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
Reference