# C1.WPF.Word.Objects.RtfFontCollection

## Content

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



  <h1 id="C1_WPF_Word_Objects_RtfFontCollection" data-uid="C1.WPF.Word.Objects.RtfFontCollection" class="text-break">RtfFontCollection Class
</h1>
  <div class="markdown level0 summary"><p>The Word/RTF fonts table 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"><a class="xref" href="C1.WPF.Word.Objects.RtfCollection.html">RtfCollection</a></div>
    <div class="level3"><span class="xref">RtfFontCollection</span></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_RtfFontCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RtfFontCollection : RtfCollection, 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_RtfFontCollection_Item_System_Int32_" data-uid="C1.WPF.Word.Objects.RtfFontCollection.Item(System.Int32)">
          <a class="xref" href="C1.WPF.Word.Objects.RtfFontCollection.Item.html#C1_WPF_Word_Objects_RtfFontCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the RTF font 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_RtfFontCollection_Clone_C1_WPF_Word_Objects_RtfObject_" data-uid="C1.WPF.Word.Objects.RtfFontCollection.Clone(C1.WPF.Word.Objects.RtfObject)">
          <a class="xref" href="C1.WPF.Word.Objects.RtfFontCollection.Clone.html#C1_WPF_Word_Objects_RtfFontCollection_Clone_C1_WPF_Word_Objects_RtfObject_">Clone(RtfObject)</a>
        </td>
        <td class="markdown level1 summary"><p>A copy of the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfFontCollection_Contains_C1_WPF_Word_Font_" data-uid="C1.WPF.Word.Objects.RtfFontCollection.Contains(C1.WPF.Word.Font)">
          <a class="xref" href="C1.WPF.Word.Objects.RtfFontCollection.Contains.html#C1_WPF_Word_Objects_RtfFontCollection_Contains_C1_WPF_Word_Font_">Contains(Font)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the drawing font is located within the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfFontCollection_GetFontByNumber_System_Int32_" data-uid="C1.WPF.Word.Objects.RtfFontCollection.GetFontByNumber(System.Int32)">
          <a class="xref" href="C1.WPF.Word.Objects.RtfFontCollection.GetFontByNumber.html#C1_WPF_Word_Objects_RtfFontCollection_GetFontByNumber_System_Int32_">GetFontByNumber(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the RTF font at the specified number within the font collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfFontCollection_GetNumberByFont_C1_WPF_Word_Font_" data-uid="C1.WPF.Word.Objects.RtfFontCollection.GetNumberByFont(C1.WPF.Word.Font)">
          <a class="xref" href="C1.WPF.Word.Objects.RtfFontCollection.GetNumberByFont.html#C1_WPF_Word_Objects_RtfFontCollection_GetNumberByFont_C1_WPF_Word_Font_">GetNumberByFont(Font)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified number at the RTF font within the font collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Objects_RtfFontCollection_IndexOf_C1_WPF_Word_Font_" data-uid="C1.WPF.Word.Objects.RtfFontCollection.IndexOf(C1.WPF.Word.Font)">
          <a class="xref" href="C1.WPF.Word.Objects.RtfFontCollection.IndexOf.html#C1_WPF_Word_Objects_RtfFontCollection_IndexOf_C1_WPF_Word_Font_">IndexOf(Font)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index within the collection of the element.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
