Share via


IUIAutomationElement::CachedBoundingRectangle Property

Retrieves the cached coordinates of the rectangle that completely encloses the element.

Syntax

HRESULT IUIAutomationElement::get_CachedBoundingRectangle(RECT *retVal);

Parameters

  • retVal
    The address of a RECT structure that receives the coordinates of the cached bounding rectangle.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UIA_BoundingRectanglePropertyId, IUIAutomationElement::CurrentBoundingRectangle