Share via


IUIAutomationScrollPattern::CachedVerticalScrollPercent Property

Retrieves the cached vertical scroll position.

Syntax

HRESULT IUIAutomationScrollPattern::get_CachedVerticalScrollPercent(double *retVal);

Parameters

  • retVal
    The address of a variable that receives the cached vertical scroll position as a percentage of the total content area within the UI Automation element. The default value is 0.0.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IUIAutomationScrollPattern::CachedHorizontalScrollPercent