|
#region Assembly UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
// C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\UIAutomationProvider.dll
#endregion
using System.Runtime.InteropServices;
using System.Windows.Automation.Text;
namespace System.Windows.Automation.Provider
{
[ComVisible(true)]
[Guid("5347ad7b-c355-46f8-aff5-909033582f63")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ITextRangeProvider
{
void AddToSelection();
ITextRangeProvider Clone();
bool Compare(ITextRangeProvider range);
int CompareEndpoints(TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, TextPatternRangeEndpoint targetEndpoint);
void ExpandToEnclosingUnit(TextUnit unit);
ITextRangeProvider FindAttribute(int attribute, object value, bool backward);
ITextRangeProvider FindText(string text, bool backward, bool ignoreCase);
object GetAttributeValue(int attribute);
double[] GetBoundingRectangles();
IRawElementProviderSimple[] GetChildren();
IRawElementProviderSimple GetEnclosingElement();
string GetText(int maxLength);
int Move(TextUnit unit, int count);
void MoveEndpointByRange(TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, TextPatternRangeEndpoint targetEndpoint);
int MoveEndpointByUnit(TextPatternRangeEndpoint endpoint, TextUnit unit, int count);
void RemoveFromSelection();
void ScrollIntoView(bool alignToTop);
void Select();
}
} |