IUIAutomationElement::CurrentOrientation Property
Retrieves the orientation of the element
Syntax
HRESULT IUIAutomationElement::get_CurrentOrientation(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::CachedOrientation