# C1.WPF.Word.Objects.RtfCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Word_Objects_RtfCollection" data-uid="C1.WPF.Word.Objects.RtfCollection" class="text-break">RtfCollection Class
</h1>
  <div class="markdown level0 summary"><p>The common collection object.</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="C1.WPF.Word.Objects.RtfObject.html">RtfObject</a></div>
    <div class="level2"><span class="xref">RtfCollection</span></div>
      <div class="level3"><a class="xref" href="C1.WPF.Word.Objects.RtfCellCollection.html">RtfCellCollection</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.Word.Objects.RtfColorCollection.html">RtfColorCollection</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.Word.Objects.RtfColumnCollection.html">RtfColumnCollection</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.Word.Objects.RtfContent.html">RtfContent</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.Word.Objects.RtfFontCollection.html">RtfFontCollection</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.Word.Objects.RtfListTable.html">RtfListTable</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.Word.Objects.RtfListTemplate.html">RtfListTemplate</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.Word.Objects.RtfRowCollection.html">RtfRowCollection</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.Word.Objects.RtfShapeCollection.html">RtfShapeCollection</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.Word.Objects.RtfStyleCollection.html">RtfStyleCollection</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></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="C1.WPF.Word.Objects.html">C1.WPF.Word.Objects</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Word.4.6.2.dll</h6>
  <h5 id="C1_WPF_Word_Objects_RtfCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class RtfCollection : RtfObject, ICloneable, IEnumerable</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfCollection_Count" data-uid="C1.WPF.Word.Objects.RtfCollection.Count">
          <a class="xref" href="C1.WPF.Word.Objects.RtfCollection.Count.html#C1_WPF_Word_Objects_RtfCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of Word/RTF object in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfCollection_Current" data-uid="C1.WPF.Word.Objects.RtfCollection.Current">
          <a class="xref" href="C1.WPF.Word.Objects.RtfCollection.Current.html#C1_WPF_Word_Objects_RtfCollection_Current">Current</a>
        </td>
        <td class="markdown level1 summary"><p>Gets current Word/RTF object for set (group, collection).</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfCollection_IsEmpty" data-uid="C1.WPF.Word.Objects.RtfCollection.IsEmpty">
          <a class="xref" href="C1.WPF.Word.Objects.RtfCollection.IsEmpty.html#C1_WPF_Word_Objects_RtfCollection_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets is empty this object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfCollection_Item_System_Int32_" data-uid="C1.WPF.Word.Objects.RtfCollection.Item(System.Int32)">
          <a class="xref" href="C1.WPF.Word.Objects.RtfCollection.Item.html#C1_WPF_Word_Objects_RtfCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the Word/RTF object at the specified index within the collection.</p>
</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_WPF_Word_Objects_RtfCollection_Add_C1_WPF_Word_Objects_RtfObject_" data-uid="C1.WPF.Word.Objects.RtfCollection.Add(C1.WPF.Word.Objects.RtfObject)">
          <a class="xref" href="C1.WPF.Word.Objects.RtfCollection.Add.html#C1_WPF_Word_Objects_RtfCollection_Add_C1_WPF_Word_Objects_RtfObject_">Add(RtfObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the Word/RTF object to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfCollection_Clear" data-uid="C1.WPF.Word.Objects.RtfCollection.Clear">
          <a class="xref" href="C1.WPF.Word.Objects.RtfCollection.Clear.html#C1_WPF_Word_Objects_RtfCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all objects from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfCollection_Clone_C1_WPF_Word_Objects_RtfObject_" data-uid="C1.WPF.Word.Objects.RtfCollection.Clone(C1.WPF.Word.Objects.RtfObject)">
          <a class="xref" href="C1.WPF.Word.Objects.RtfCollection.Clone.html#C1_WPF_Word_Objects_RtfCollection_Clone_C1_WPF_Word_Objects_RtfObject_">Clone(RtfObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="C1.WPF.Word.Objects.RtfCollection.html">RtfCollection</a> that is a copy of the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfCollection_Contains_C1_WPF_Word_Objects_RtfObject_" data-uid="C1.WPF.Word.Objects.RtfCollection.Contains(C1.WPF.Word.Objects.RtfObject)">
          <a class="xref" href="C1.WPF.Word.Objects.RtfCollection.Contains.html#C1_WPF_Word_Objects_RtfCollection_Contains_C1_WPF_Word_Objects_RtfObject_">Contains(RtfObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the Word/RTF object is located within the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfCollection_GetEnumerator" data-uid="C1.WPF.Word.Objects.RtfCollection.GetEnumerator">
          <a class="xref" href="C1.WPF.Word.Objects.RtfCollection.GetEnumerator.html#C1_WPF_Word_Objects_RtfCollection_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Exposes the enumerator, which supports a simple iteration over a non-generic collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfCollection_IndexOf_C1_WPF_Word_Objects_RtfObject_" data-uid="C1.WPF.Word.Objects.RtfCollection.IndexOf(C1.WPF.Word.Objects.RtfObject)">
          <a class="xref" href="C1.WPF.Word.Objects.RtfCollection.IndexOf.html#C1_WPF_Word_Objects_RtfCollection_IndexOf_C1_WPF_Word_Objects_RtfObject_">IndexOf(RtfObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index within the collection of the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfCollection_Insert_System_Int32_C1_WPF_Word_Objects_RtfObject_" data-uid="C1.WPF.Word.Objects.RtfCollection.Insert(System.Int32,C1.WPF.Word.Objects.RtfObject)">
          <a class="xref" href="C1.WPF.Word.Objects.RtfCollection.Insert.html#C1_WPF_Word_Objects_RtfCollection_Insert_System_Int32_C1_WPF_Word_Objects_RtfObject_">Insert(int, RtfObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an item into the Word/RTF object collection of the RTF object at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfCollection_Remove_C1_WPF_Word_Objects_RtfObject_" data-uid="C1.WPF.Word.Objects.RtfCollection.Remove(C1.WPF.Word.Objects.RtfObject)">
          <a class="xref" href="C1.WPF.Word.Objects.RtfCollection.Remove.html#C1_WPF_Word_Objects_RtfCollection_Remove_C1_WPF_Word_Objects_RtfObject_">Remove(RtfObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified Word/RTF object from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfCollection_RemoveAt_System_Int32_" data-uid="C1.WPF.Word.Objects.RtfCollection.RemoveAt(System.Int32)">
          <a class="xref" href="C1.WPF.Word.Objects.RtfCollection.RemoveAt.html#C1_WPF_Word_Objects_RtfCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the item at the specified index within the collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
