# GrapeCity.Documents.Word.TextCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_TextCollection" data-uid="GrapeCity.Documents.Word.TextCollection" class="text-break">TextCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="GrapeCity.Documents.Word.Text.html">Text</a> objects.</p>
</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"><a class="xref" href="GrapeCity.Documents.Word.ContentCollection-1.html">ContentCollection</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.Text.html">Text</a>&gt;</div>
    <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.ContentObjectCollection-1.html">ContentObjectCollection</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.Text.html">Text</a>&gt;</div>
    <div class="level3"><span class="xref">TextCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Word.IContentList-1.html">IContentList</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.Text.html">Text</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.Text.html">Text</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.Text.html">Text</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.Text.html">Text</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_TextCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TextCollection : ContentObjectCollection&lt;Text&gt;, IContentList&lt;Text&gt;, IReadOnlyList&lt;Text&gt;, IReadOnlyCollection&lt;Text&gt;, IEnumerable&lt;Text&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TextCollection
    Inherits ContentObjectCollection(Of Text)
    Implements IContentList(Of Text), IReadOnlyList(Of Text), IReadOnlyCollection(Of Text), IEnumerable(Of Text), IEnumerable</code></pre>
  </div>
  <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="GrapeCity_Documents_Word_TextCollection_Add_System_String_" data-uid="GrapeCity.Documents.Word.TextCollection.Add(System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.Add.html#GrapeCity_Documents_Word_TextCollection_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Text.html">Text</a> to this collection at the <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html#GrapeCity_Documents_Word_InsertLocation_End">End</a> location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_AddBreak" data-uid="GrapeCity.Documents.Word.TextCollection.AddBreak">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.AddBreak.html#GrapeCity_Documents_Word_TextCollection_AddBreak">AddBreak()</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a line <a class="xref" href="GrapeCity.Documents.Word.Break.html">Break</a> to this collection at the <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html#GrapeCity_Documents_Word_InsertLocation_End">End</a> location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_AddBreak_GrapeCity_Documents_Word_BreakType_" data-uid="GrapeCity.Documents.Word.TextCollection.AddBreak(GrapeCity.Documents.Word.BreakType)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.AddBreak.html#GrapeCity_Documents_Word_TextCollection_AddBreak_GrapeCity_Documents_Word_BreakType_">AddBreak(BreakType)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Break.html">Break</a> to this collection at the <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html#GrapeCity_Documents_Word_InsertLocation_End">End</a> location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_AddBreak_GrapeCity_Documents_Word_BreakType_GrapeCity_Documents_Word_BreakClear_" data-uid="GrapeCity.Documents.Word.TextCollection.AddBreak(GrapeCity.Documents.Word.BreakType,GrapeCity.Documents.Word.BreakClear)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.AddBreak.html#GrapeCity_Documents_Word_TextCollection_AddBreak_GrapeCity_Documents_Word_BreakType_GrapeCity_Documents_Word_BreakClear_">AddBreak(BreakType, BreakClear)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Break.html">Break</a> to this collection at the <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html#GrapeCity_Documents_Word_InsertLocation_End">End</a> location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_AddLastRenderedPageBreak" data-uid="GrapeCity.Documents.Word.TextCollection.AddLastRenderedPageBreak">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.AddLastRenderedPageBreak.html#GrapeCity_Documents_Word_TextCollection_AddLastRenderedPageBreak">AddLastRenderedPageBreak()</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.LastRenderedPageBreak.html">LastRenderedPageBreak</a> to this collection at the <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html#GrapeCity_Documents_Word_InsertLocation_End">End</a> location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_AddSymbol_System_Char_System_String_" data-uid="GrapeCity.Documents.Word.TextCollection.AddSymbol(System.Char,System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.AddSymbol.html#GrapeCity_Documents_Word_TextCollection_AddSymbol_System_Char_System_String_">AddSymbol(char, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Symbol.html">Symbol</a> to this collection at the <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html#GrapeCity_Documents_Word_InsertLocation_End">End</a> location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_AddTab" data-uid="GrapeCity.Documents.Word.TextCollection.AddTab">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.AddTab.html#GrapeCity_Documents_Word_TextCollection_AddTab">AddTab()</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a> to this collection at the <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html#GrapeCity_Documents_Word_InsertLocation_End">End</a> location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_AddTab_GrapeCity_Documents_Word_TabAlignment_" data-uid="GrapeCity.Documents.Word.TextCollection.AddTab(GrapeCity.Documents.Word.TabAlignment)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.AddTab.html#GrapeCity_Documents_Word_TextCollection_AddTab_GrapeCity_Documents_Word_TabAlignment_">AddTab(TabAlignment)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a> to this collection at the <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html#GrapeCity_Documents_Word_InsertLocation_End">End</a> location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_AddTab_GrapeCity_Documents_Word_TabAlignment_GrapeCity_Documents_Word_TabLeader_" data-uid="GrapeCity.Documents.Word.TextCollection.AddTab(GrapeCity.Documents.Word.TabAlignment,GrapeCity.Documents.Word.TabLeader)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.AddTab.html#GrapeCity_Documents_Word_TextCollection_AddTab_GrapeCity_Documents_Word_TabAlignment_GrapeCity_Documents_Word_TabLeader_">AddTab(TabAlignment, TabLeader)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a> to this collection at the <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html#GrapeCity_Documents_Word_InsertLocation_End">End</a> location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_AddTab_GrapeCity_Documents_Word_TabAlignment_GrapeCity_Documents_Word_TabLeader_GrapeCity_Documents_Word_TabRelativeTo_" data-uid="GrapeCity.Documents.Word.TextCollection.AddTab(GrapeCity.Documents.Word.TabAlignment,GrapeCity.Documents.Word.TabLeader,GrapeCity.Documents.Word.TabRelativeTo)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.AddTab.html#GrapeCity_Documents_Word_TextCollection_AddTab_GrapeCity_Documents_Word_TabAlignment_GrapeCity_Documents_Word_TabLeader_GrapeCity_Documents_Word_TabRelativeTo_">AddTab(TabAlignment, TabLeader, TabRelativeTo)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a> to this collection at the <a class="xref" href="GrapeCity.Documents.Word.InsertLocation.html#GrapeCity_Documents_Word_InsertLocation_End">End</a> location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_Insert_System_String_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.TextCollection.Insert(System.String,GrapeCity.Documents.Word.InsertLocation)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.Insert.html#GrapeCity_Documents_Word_TextCollection_Insert_System_String_GrapeCity_Documents_Word_InsertLocation_">Insert(string, InsertLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.Text.html">Text</a> into this collection at a specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_InsertBreak_GrapeCity_Documents_Word_BreakType_GrapeCity_Documents_Word_BreakClear_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.TextCollection.InsertBreak(GrapeCity.Documents.Word.BreakType,GrapeCity.Documents.Word.BreakClear,GrapeCity.Documents.Word.InsertLocation)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.InsertBreak.html#GrapeCity_Documents_Word_TextCollection_InsertBreak_GrapeCity_Documents_Word_BreakType_GrapeCity_Documents_Word_BreakClear_GrapeCity_Documents_Word_InsertLocation_">InsertBreak(BreakType, BreakClear, InsertLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.Break.html">Break</a> into this collection at a specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_InsertBreak_GrapeCity_Documents_Word_BreakType_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.TextCollection.InsertBreak(GrapeCity.Documents.Word.BreakType,GrapeCity.Documents.Word.InsertLocation)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.InsertBreak.html#GrapeCity_Documents_Word_TextCollection_InsertBreak_GrapeCity_Documents_Word_BreakType_GrapeCity_Documents_Word_InsertLocation_">InsertBreak(BreakType, InsertLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.Break.html">Break</a> into this collection at a specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_InsertBreak_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.TextCollection.InsertBreak(GrapeCity.Documents.Word.InsertLocation)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.InsertBreak.html#GrapeCity_Documents_Word_TextCollection_InsertBreak_GrapeCity_Documents_Word_InsertLocation_">InsertBreak(InsertLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a line <a class="xref" href="GrapeCity.Documents.Word.Break.html">Break</a> into this collection at a specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_InsertLastRenderedPageBreak_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.TextCollection.InsertLastRenderedPageBreak(GrapeCity.Documents.Word.InsertLocation)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.InsertLastRenderedPageBreak.html#GrapeCity_Documents_Word_TextCollection_InsertLastRenderedPageBreak_GrapeCity_Documents_Word_InsertLocation_">InsertLastRenderedPageBreak(InsertLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.LastRenderedPageBreak.html">LastRenderedPageBreak</a> into this collection at a specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_InsertSymbol_System_Char_System_String_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.TextCollection.InsertSymbol(System.Char,System.String,GrapeCity.Documents.Word.InsertLocation)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.InsertSymbol.html#GrapeCity_Documents_Word_TextCollection_InsertSymbol_System_Char_System_String_GrapeCity_Documents_Word_InsertLocation_">InsertSymbol(char, string, InsertLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.Symbol.html">Symbol</a> into this collection at a specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_InsertTab_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.TextCollection.InsertTab(GrapeCity.Documents.Word.InsertLocation)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.InsertTab.html#GrapeCity_Documents_Word_TextCollection_InsertTab_GrapeCity_Documents_Word_InsertLocation_">InsertTab(InsertLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a> into this collection at a specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_InsertTab_GrapeCity_Documents_Word_TabAlignment_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.TextCollection.InsertTab(GrapeCity.Documents.Word.TabAlignment,GrapeCity.Documents.Word.InsertLocation)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.InsertTab.html#GrapeCity_Documents_Word_TextCollection_InsertTab_GrapeCity_Documents_Word_TabAlignment_GrapeCity_Documents_Word_InsertLocation_">InsertTab(TabAlignment, InsertLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a> into this collection at a specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_InsertTab_GrapeCity_Documents_Word_TabAlignment_GrapeCity_Documents_Word_TabLeader_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.TextCollection.InsertTab(GrapeCity.Documents.Word.TabAlignment,GrapeCity.Documents.Word.TabLeader,GrapeCity.Documents.Word.InsertLocation)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.InsertTab.html#GrapeCity_Documents_Word_TextCollection_InsertTab_GrapeCity_Documents_Word_TabAlignment_GrapeCity_Documents_Word_TabLeader_GrapeCity_Documents_Word_InsertLocation_">InsertTab(TabAlignment, TabLeader, InsertLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a> into this collection at a specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextCollection_InsertTab_GrapeCity_Documents_Word_TabAlignment_GrapeCity_Documents_Word_TabLeader_GrapeCity_Documents_Word_TabRelativeTo_GrapeCity_Documents_Word_InsertLocation_" data-uid="GrapeCity.Documents.Word.TextCollection.InsertTab(GrapeCity.Documents.Word.TabAlignment,GrapeCity.Documents.Word.TabLeader,GrapeCity.Documents.Word.TabRelativeTo,GrapeCity.Documents.Word.InsertLocation)">
          <a class="xref" href="GrapeCity.Documents.Word.TextCollection.InsertTab.html#GrapeCity_Documents_Word_TextCollection_InsertTab_GrapeCity_Documents_Word_TabAlignment_GrapeCity_Documents_Word_TabLeader_GrapeCity_Documents_Word_TabRelativeTo_GrapeCity_Documents_Word_InsertLocation_">InsertTab(TabAlignment, TabLeader, TabRelativeTo, InsertLocation)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a> into this collection at a specified location.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
