# C1.C1Word.Objects.RtfSection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Word_Objects_RtfSection" data-uid="C1.C1Word.Objects.RtfSection" class="text-break">RtfSection Class
</h1>
  <div class="markdown level0 summary"><p>The Word/RTF section.</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"><a class="xref" href="C1.C1Word.Objects.RtfBorderObject.html">RtfBorderObject</a></div>
    <div class="level3"><span class="xref">RtfSection</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="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_RtfSection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RtfSection : RtfBorderObject, ICloneable, IRtfContent, IEnumerable, IDocumentContent, IContent</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RtfSection
    Inherits RtfBorderObject
    Implements ICloneable, IRtfContent, IEnumerable, IDocumentContent, IContent</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_C1Word_Objects_RtfSection__ctor" data-uid="C1.C1Word.Objects.RtfSection.#ctor">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.-ctor.html#C1_C1Word_Objects_RtfSection__ctor">RtfSection()</a>
        </td>
        <td class="markdown level1 summary"><p>Create Word/RTF section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection__ctor_System_Drawing_Printing_PaperKind_" data-uid="C1.C1Word.Objects.RtfSection.#ctor(System.Drawing.Printing.PaperKind)">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.-ctor.html#C1_C1Word_Objects_RtfSection__ctor_System_Drawing_Printing_PaperKind_">RtfSection(PaperKind)</a>
        </td>
        <td class="markdown level1 summary"><p>Create Word/RTF section with known paper kind.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_RtfSection_AutoNewPage" data-uid="C1.C1Word.Objects.RtfSection.AutoNewPage">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.AutoNewPage.html#C1_C1Word_Objects_RtfSection_AutoNewPage">AutoNewPage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets automatic new page before the section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_BottomMargin" data-uid="C1.C1Word.Objects.RtfSection.BottomMargin">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.BottomMargin.html#C1_C1Word_Objects_RtfSection_BottomMargin">BottomMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the bottom margin for this section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_ClientRectangle" data-uid="C1.C1Word.Objects.RtfSection.ClientRectangle">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.ClientRectangle.html#C1_C1Word_Objects_RtfSection_ClientRectangle">ClientRectangle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets client rectangle for this document.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_Columns" data-uid="C1.C1Word.Objects.RtfSection.Columns">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.Columns.html#C1_C1Word_Objects_RtfSection_Columns">Columns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the colunms collection of this section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_Content" data-uid="C1.C1Word.Objects.RtfSection.Content">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.Content.html#C1_C1Word_Objects_RtfSection_Content">Content</a>
        </td>
        <td class="markdown level1 summary"><p>Gets Word/RTF content for this section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_Count" data-uid="C1.C1Word.Objects.RtfSection.Count">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.Count.html#C1_C1Word_Objects_RtfSection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets current count objects in collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_Current" data-uid="C1.C1Word.Objects.RtfSection.Current">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.Current.html#C1_C1Word_Objects_RtfSection_Current">Current</a>
        </td>
        <td class="markdown level1 summary"><p>Gets current object for this section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_Footer" data-uid="C1.C1Word.Objects.RtfSection.Footer">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.Footer.html#C1_C1Word_Objects_RtfSection_Footer">Footer</a>
        </td>
        <td class="markdown level1 summary"><p>Gets Word/RTF footer of the page for this section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_FooterY" data-uid="C1.C1Word.Objects.RtfSection.FooterY">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.FooterY.html#C1_C1Word_Objects_RtfSection_FooterY">FooterY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets footer height for this section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_Header" data-uid="C1.C1Word.Objects.RtfSection.Header">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.Header.html#C1_C1Word_Objects_RtfSection_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Gets Word/RTF header of the page for this section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_HeaderY" data-uid="C1.C1Word.Objects.RtfSection.HeaderY">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.HeaderY.html#C1_C1Word_Objects_RtfSection_HeaderY">HeaderY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets header height for this section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_IsEmpty" data-uid="C1.C1Word.Objects.RtfSection.IsEmpty">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.IsEmpty.html#C1_C1Word_Objects_RtfSection_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets <b>true</b> if this object is empty, otherwise <b>false</b>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_LeftMargin" data-uid="C1.C1Word.Objects.RtfSection.LeftMargin">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.LeftMargin.html#C1_C1Word_Objects_RtfSection_LeftMargin">LeftMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the left margin for this section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_PageSize" data-uid="C1.C1Word.Objects.RtfSection.PageSize">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.PageSize.html#C1_C1Word_Objects_RtfSection_PageSize">PageSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets page size for this section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_RightMargin" data-uid="C1.C1Word.Objects.RtfSection.RightMargin">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.RightMargin.html#C1_C1Word_Objects_RtfSection_RightMargin">RightMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the right margin for this section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_SectionBreak" data-uid="C1.C1Word.Objects.RtfSection.SectionBreak">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.SectionBreak.html#C1_C1Word_Objects_RtfSection_SectionBreak">SectionBreak</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets break attribute for the section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_TocField" data-uid="C1.C1Word.Objects.RtfSection.TocField">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.TocField.html#C1_C1Word_Objects_RtfSection_TocField">TocField</a>
        </td>
        <td class="markdown level1 summary"><p>Gets <a class="xref" href="C1.C1Word.Objects.RtfTocField.html">RtfTocField</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_TopMargin" data-uid="C1.C1Word.Objects.RtfSection.TopMargin">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.TopMargin.html#C1_C1Word_Objects_RtfSection_TopMargin">TopMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the top margin for this section.</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_RtfSection_Add_C1_C1Word_Objects_RtfObject_" data-uid="C1.C1Word.Objects.RtfSection.Add(C1.C1Word.Objects.RtfObject)">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.Add.html#C1_C1Word_Objects_RtfSection_Add_C1_C1Word_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_C1Word_Objects_RtfSection_Clear" data-uid="C1.C1Word.Objects.RtfSection.Clear">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.Clear.html#C1_C1Word_Objects_RtfSection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all objects from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_Contains_C1_C1Word_Objects_RtfObject_" data-uid="C1.C1Word.Objects.RtfSection.Contains(C1.C1Word.Objects.RtfObject)">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.Contains.html#C1_C1Word_Objects_RtfSection_Contains_C1_C1Word_Objects_RtfObject_">Contains(RtfObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the object is located within the section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSection_GetEnumerator" data-uid="C1.C1Word.Objects.RtfSection.GetEnumerator">
          <a class="xref" href="C1.C1Word.Objects.RtfSection.GetEnumerator.html#C1_C1Word_Objects_RtfSection_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>
