# C1.C1Word.Objects.RtfHeaderFooter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Word_Objects_RtfHeaderFooter" data-uid="C1.C1Word.Objects.RtfHeaderFooter" class="text-break">RtfHeaderFooter Class
</h1>
  <div class="markdown level0 summary"><p>The common (base) header and footer class.</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.C1Word.Objects.RtfObject.html">RtfObject</a></div>
    <div class="level2"><span class="xref">RtfHeaderFooter</span></div>
      <div class="level3"><a class="xref" href="C1.C1Word.Objects.RtfFooter.html">RtfFooter</a></div>
      <div class="level3"><a class="xref" href="C1.C1Word.Objects.RtfHeader.html">RtfHeader</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="C1.C1Word.Objects.IRtfContent.html">IRtfContent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
    <div><a class="xref" href="C1.C1Word.IDocumentContent.html">IDocumentContent</a></div>
    <div><a class="xref" href="C1.C1Word.IContent.html">IContent</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Word.Objects.html">C1.C1Word.Objects</a></h6>
  <h6><strong>Assembly</strong>: C1.C1Word.4.8.dll</h6>
  <h5 id="C1_C1Word_Objects_RtfHeaderFooter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class RtfHeaderFooter : RtfObject, ICloneable, IRtfContent, IEnumerable, IDocumentContent, IContent</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class RtfHeaderFooter
    Inherits RtfObject
    Implements ICloneable, IRtfContent, IEnumerable, IDocumentContent, IContent</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_C1Word_Objects_RtfHeaderFooter_Count" data-uid="C1.C1Word.Objects.RtfHeaderFooter.Count">
          <a class="xref" href="C1.C1Word.Objects.RtfHeaderFooter.Count.html#C1_C1Word_Objects_RtfHeaderFooter_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets current count Word/RTF objects in collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfHeaderFooter_Current" data-uid="C1.C1Word.Objects.RtfHeaderFooter.Current">
          <a class="xref" href="C1.C1Word.Objects.RtfHeaderFooter.Current.html#C1_C1Word_Objects_RtfHeaderFooter_Current">Current</a>
        </td>
        <td class="markdown level1 summary"><p>Gets current Word/RTF object for set (group, 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_C1Word_Objects_RtfHeaderFooter_Add_C1_C1Word_Objects_RtfObject_" data-uid="C1.C1Word.Objects.RtfHeaderFooter.Add(C1.C1Word.Objects.RtfObject)">
          <a class="xref" href="C1.C1Word.Objects.RtfHeaderFooter.Add.html#C1_C1Word_Objects_RtfHeaderFooter_Add_C1_C1Word_Objects_RtfObject_">Add(RtfObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the RTF object to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfHeaderFooter_GetEnumerator" data-uid="C1.C1Word.Objects.RtfHeaderFooter.GetEnumerator">
          <a class="xref" href="C1.C1Word.Objects.RtfHeaderFooter.GetEnumerator.html#C1_C1Word_Objects_RtfHeaderFooter_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>
    </tbody>
  </table>

</div>
