Export (0) Print
Expand All

IUIAutomationTextRange::GetAttributeValue Method

Retrieves the value of the specified text attribute across the entire text range.

Syntax


HRESULT GetAttributeValue(          TEXTATTRIBUTEID attr,
    VARIANT *value
);

Parameters

attr
[in] The identifier of the text attribute. For a list of text attribute IDs, see Text Attribute Identifiers.
value
[out, retval] The address of a VARIANT that receives the value of the specified attribute.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

There is no differentiation between hidden and visible text.

Community Additions

Show:
© 2014 Microsoft