IUIAutomationElement::CachedOrientation Property
Retrieves the orientation of the element from the cache.
Syntax
HRESULT IUIAutomationElement::get_CachedOrientation(OrientationType *retVal);
Parameters
- retVal
The address of a variable that receives a value from the OrientationType enumerated type indicating the orientation of the element.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
This property is supported by controls such as scroll bars and sliders that can have either a vertical or a horizontal orientation.
See Also
UIA_OrientationPropertyId, IUIAutomationElement, IUIAutomationElement::CurrentOrientation