Share via


IUIAutomationScrollPattern::CachedVerticalViewSize Property

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

Syntax

HRESULT IUIAutomationScrollPattern::get_CachedVerticalViewSize(double *retVal);

Parameters

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