Input for WinForms | ComponentOne
C1.Win.Accessibility.Items.BaseInterfaces Namespace / IUiaTextProvider Interface
Properties Methods

In This Topic
    IUiaTextProvider Interface Members
    In This Topic

    The following tables list the members exposed by IUiaTextProvider.

    Public Properties
     NameDescription
     PropertyA text range that encloses the main text of the document. Some auxillary text such as headers, footnotes, or annotations may not be included.  
     PropertyTrue if the text container supports text selection. If the provider returns false then it should throw InvalidOperation exceptions for ITextProvider.GetSelection and ITextRangeProvider.Select.  
    Top
    Public Methods
     NameDescription
     MethodRetrieves the current selection. For providers that have the concept of text selection the provider should implement this method and also return true for the SupportsTextSelection property below. Otherwise this method should throw an InvalidOperation exception. For providers that support multiple disjoint selection, this should return an array of all the currently selected ranges. Providers that don't support multiple disjoint selection should just return an array containing a single range.  
     MethodRetrieves the visible ranges of text.  
     MethodRetrieves the range of a child object.  
     MethodFinds the degenerate range nearest to a screen coordinate.  
    Top
    See Also