Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Extends the IUIAutomationTextPattern interface.
Inheritance
The IUIAutomationTextPattern2 interface inherits from IUIAutomationTextPattern. IUIAutomationTextPattern2 also has these types of members:
Methods
The IUIAutomationTextPattern2 interface has these methods.
IUIAutomationTextPattern2::GetCaretRange Retrieves a zero-length text range at the ___location of the caret that belongs to the text-based control. |
IUIAutomationTextPattern2::RangeFromAnnotation Retrieves a text range containing the text that is the target of the annotation associated with the specified annotation element. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | uiautomationclient.h (include UIAutomation.h) |
See also
Control Pattern Interfaces for Clients