ITextProvider2
trait · ferroui-controls · v0.5.0
trait ITextProvider2: ITextProvider
The additional operations of the WinUI/UI Automation Text2 pattern. Text ranges use the same live document and UTF-16 coordinates as Text.
Members
range_from_annotation
fn range_from_annotation(self: &Self, annotation: &Ref<AutomationPeer>) -> Result<Rc<dyn ITextRangeProvider>, ProviderError>
get_caret_range
fn get_caret_range(self: &Self) -> Result<TextCaretRange, ProviderError>
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.