Share via


IUIAutomationScrollPattern::CachedHorizontalScrollPercent Property

Gets the cached horizontal scroll position.

Syntax

HRESULT IUIAutomationScrollPattern::get_CachedHorizontalScrollPercent(double *retVal);

Parameters

  • retVal
    The address of a variable that receives the cached horizontal 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::CachedVerticalScrollPercent