SetScrollPercent Method (IUiaScrollProvider)
In This Topic
Request to set the current horizontal and Vertical scroll position by percent (0-100). Passing in the value of "-1", represented by the constant "NoScroll", will indicate that scrolling in that direction should be ignored. The ability to call this method and simultaneously scroll horizontally and vertically provides simple panning support.
Syntax
Parameters
- horizontalPercent
- horizontal position to scroll to
- verticalPercent
- vertical position to scroll to
See Also