[]
        
(Showing Draft Content)

C1.Win.Accessibility.Items.BaseInterfaces.IUiaScrollProvider.SetScrollPercent

SetScrollPercent Method

SetScrollPercent(double, double)

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.

Declaration
void SetScrollPercent(double horizontalPercent, double verticalPercent)
Parameters
Type Name Description
double horizontalPercent

horizontal position to scroll to

double verticalPercent

vertical position to scroll to