IUIAutomationTextPattern2 interface (uiautomationclient.h)
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for