Share via


IUIAutomationScrollPattern::CachedHorizontalViewSize Property

Retrieves the cached horizontal view size of a scrollable UI Automation element.

Syntax

HRESULT IUIAutomationScrollPattern::get_CachedHorizontalViewSize(double *retVal);

Parameters

  • retVal
    The address of a variable that receives the cached horizontal size of the viewable region as a percentage of the total content area within the element. The default value is 100.0.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IUIAutomationScrollPattern::CachedVerticalViewSize