-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.Automation.Provider.ITextProvider2.RangeFromAnnotation(Microsoft.UI.Xaml.Automation.Provider.IRawElementProviderSimple) |
winrt method |
Exposes a text range that contains the text that is the target of the annotation associated with the specified annotation element.
The provider for an element that implements the IAnnotationProvider interface. The annotation element is a sibling of the element that implements the ITextProvider2 interface for the document.
A text range that contains the annotation target text.