# C1.Win.Accessibility.Items.UiaTextRangeProvider

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Accessibility_Items_UiaTextRangeProvider" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider" class="text-break">UiaTextRangeProvider Class
</h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">UiaTextRangeProvider</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.automation.provider.itextrangeprovider">ITextRangeProvider</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Accessibility.Items.html">C1.Win.Accessibility.Items</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Win_Accessibility_Items_UiaTextRangeProvider_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class UiaTextRangeProvider : ITextRangeProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class UiaTextRangeProvider
    Implements ITextRangeProvider</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider__ctor_System_String_System_Int32_System_Int32_C1_Win_Accessibility_Items_IUiaEdit_System_Windows_Rect_" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.#ctor(System.String,System.Int32,System.Int32,C1.Win.Accessibility.Items.IUiaEdit,System.Windows.Rect)">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.-ctor.html#C1_Win_Accessibility_Items_UiaTextRangeProvider__ctor_System_String_System_Int32_System_Int32_C1_Win_Accessibility_Items_IUiaEdit_System_Windows_Rect_">UiaTextRangeProvider(string, int, int, IUiaEdit, Rect)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider__ctor_System_String_System_Int32_System_Int32_System_Windows_Forms_TextBox_System_Windows_Rect_" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.#ctor(System.String,System.Int32,System.Int32,System.Windows.Forms.TextBox,System.Windows.Rect)">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.-ctor.html#C1_Win_Accessibility_Items_UiaTextRangeProvider__ctor_System_String_System_Int32_System_Int32_System_Windows_Forms_TextBox_System_Windows_Rect_">UiaTextRangeProvider(string, int, int, TextBox, Rect)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_AddToSelection" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.AddToSelection">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.AddToSelection.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_AddToSelection">AddToSelection()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_Clone" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.Clone">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.Clone.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_Compare_System_Windows_Automation_Provider_ITextRangeProvider_" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.Compare(System.Windows.Automation.Provider.ITextRangeProvider)">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.Compare.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_Compare_System_Windows_Automation_Provider_ITextRangeProvider_">Compare(ITextRangeProvider)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_CompareEndpoints_System_Windows_Automation_Text_TextPatternRangeEndpoint_System_Windows_Automation_Provider_ITextRangeProvider_System_Windows_Automation_Text_TextPatternRangeEndpoint_" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.CompareEndpoints(System.Windows.Automation.Text.TextPatternRangeEndpoint,System.Windows.Automation.Provider.ITextRangeProvider,System.Windows.Automation.Text.TextPatternRangeEndpoint)">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.CompareEndpoints.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_CompareEndpoints_System_Windows_Automation_Text_TextPatternRangeEndpoint_System_Windows_Automation_Provider_ITextRangeProvider_System_Windows_Automation_Text_TextPatternRangeEndpoint_">CompareEndpoints(TextPatternRangeEndpoint, ITextRangeProvider, TextPatternRangeEndpoint)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_ExpandToEnclosingUnit_System_Windows_Automation_Text_TextUnit_" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.ExpandToEnclosingUnit(System.Windows.Automation.Text.TextUnit)">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.ExpandToEnclosingUnit.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_ExpandToEnclosingUnit_System_Windows_Automation_Text_TextUnit_">ExpandToEnclosingUnit(TextUnit)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_FindAttribute_System_Int32_System_Object_System_Boolean_" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.FindAttribute(System.Int32,System.Object,System.Boolean)">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.FindAttribute.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_FindAttribute_System_Int32_System_Object_System_Boolean_">FindAttribute(int, object, bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_FindText_System_String_System_Boolean_System_Boolean_" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.FindText(System.String,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.FindText.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_FindText_System_String_System_Boolean_System_Boolean_">FindText(string, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_GetAttributeValue_System_Int32_" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.GetAttributeValue(System.Int32)">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.GetAttributeValue.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_GetAttributeValue_System_Int32_">GetAttributeValue(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_GetBoundingRectangles" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.GetBoundingRectangles">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.GetBoundingRectangles.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_GetBoundingRectangles">GetBoundingRectangles()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_GetChildren" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.GetChildren">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.GetChildren.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_GetChildren">GetChildren()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_GetEnclosingElement" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.GetEnclosingElement">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.GetEnclosingElement.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_GetEnclosingElement">GetEnclosingElement()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_GetText_System_Int32_" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.GetText(System.Int32)">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.GetText.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_GetText_System_Int32_">GetText(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_Move_System_Windows_Automation_Text_TextUnit_System_Int32_" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.Move(System.Windows.Automation.Text.TextUnit,System.Int32)">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.Move.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_Move_System_Windows_Automation_Text_TextUnit_System_Int32_">Move(TextUnit, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_MoveEndpointByRange_System_Windows_Automation_Text_TextPatternRangeEndpoint_System_Windows_Automation_Provider_ITextRangeProvider_System_Windows_Automation_Text_TextPatternRangeEndpoint_" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.MoveEndpointByRange(System.Windows.Automation.Text.TextPatternRangeEndpoint,System.Windows.Automation.Provider.ITextRangeProvider,System.Windows.Automation.Text.TextPatternRangeEndpoint)">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.MoveEndpointByRange.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_MoveEndpointByRange_System_Windows_Automation_Text_TextPatternRangeEndpoint_System_Windows_Automation_Provider_ITextRangeProvider_System_Windows_Automation_Text_TextPatternRangeEndpoint_">MoveEndpointByRange(TextPatternRangeEndpoint, ITextRangeProvider, TextPatternRangeEndpoint)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_MoveEndpointByUnit_System_Windows_Automation_Text_TextPatternRangeEndpoint_System_Windows_Automation_Text_TextUnit_System_Int32_" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.MoveEndpointByUnit(System.Windows.Automation.Text.TextPatternRangeEndpoint,System.Windows.Automation.Text.TextUnit,System.Int32)">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.MoveEndpointByUnit.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_MoveEndpointByUnit_System_Windows_Automation_Text_TextPatternRangeEndpoint_System_Windows_Automation_Text_TextUnit_System_Int32_">MoveEndpointByUnit(TextPatternRangeEndpoint, TextUnit, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_RemoveFromSelection" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.RemoveFromSelection">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.RemoveFromSelection.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_RemoveFromSelection">RemoveFromSelection()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_ScrollIntoView_System_Boolean_" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.ScrollIntoView(System.Boolean)">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.ScrollIntoView.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_ScrollIntoView_System_Boolean_">ScrollIntoView(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_UiaTextRangeProvider_Select" data-uid="C1.Win.Accessibility.Items.UiaTextRangeProvider.Select">
          <a class="xref" href="C1.Win.Accessibility.Items.UiaTextRangeProvider.Select.html#C1_Win_Accessibility_Items_UiaTextRangeProvider_Select">Select()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
