Skip to content

An AI Agent that interacts with Windows OS at GUI level.

Python
965 B
Raw Blame

get_StyleName

Original Documentation

IStylesProvider::get_StyleName method (uiautomationcore.h)

Specifies the name of the visual style of an element in a document.

This property is read-only.

Syntax

HRESULT get_StyleName(
  BSTR *retVal
);

Parameters

retVal

Return value

None

Remarks

The style name typically indicates the role of the element in the document, such as "Heading 1."

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps
Minimum supported server Windows Server 2012 [desktop apps
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also

IStylesProvider