# GrapeCity.Documents.Word.Section

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Section" data-uid="GrapeCity.Documents.Word.Section" class="text-break">Section Class
</h1>
  <div class="markdown level0 summary"><p>Represents a section element in a body content.</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"><span class="xref">Section</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Word.IBrowsable-1.html">IBrowsable</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.Section.html">Section</a>&gt;</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_Section_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Section : IBrowsable&lt;Section&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Section
    Implements IBrowsable(Of Section)</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="GrapeCity_Documents_Word_Section_Children" data-uid="GrapeCity.Documents.Word.Section.Children">
          <a class="xref" href="GrapeCity.Documents.Word.Section.Children.html#GrapeCity_Documents_Word_Section_Children">Children</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of the children of this content object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_Document" data-uid="GrapeCity.Documents.Word.Section.Document">
          <a class="xref" href="GrapeCity.Documents.Word.Section.Document.html#GrapeCity_Documents_Word_Section_Document">Document</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Word.DocumentBase.html">DocumentBase</a> that contains this content object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_End" data-uid="GrapeCity.Documents.Word.Section.End">
          <a class="xref" href="GrapeCity.Documents.Word.Section.End.html#GrapeCity_Documents_Word_Section_End">End</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Word.Marker.html">Marker</a> representing the end of this content object in the parent body.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_Footers" data-uid="GrapeCity.Documents.Word.Section.Footers">
          <a class="xref" href="GrapeCity.Documents.Word.Section.Footers.html#GrapeCity_Documents_Word_Section_Footers">Footers</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of footers for this section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_Guid" data-uid="GrapeCity.Documents.Word.Section.Guid">
          <a class="xref" href="GrapeCity.Documents.Word.Section.Guid.html#GrapeCity_Documents_Word_Section_Guid">Guid</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the section unique identifier.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_Headers" data-uid="GrapeCity.Documents.Word.Section.Headers">
          <a class="xref" href="GrapeCity.Documents.Word.Section.Headers.html#GrapeCity_Documents_Word_Section_Headers">Headers</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of headers for this section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_Index" data-uid="GrapeCity.Documents.Word.Section.Index">
          <a class="xref" href="GrapeCity.Documents.Word.Section.Index.html#GrapeCity_Documents_Word_Section_Index">Index</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of this section in the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_Next" data-uid="GrapeCity.Documents.Word.Section.Next">
          <a class="xref" href="GrapeCity.Documents.Word.Section.Next.html#GrapeCity_Documents_Word_Section_Next">Next</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the next section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_PageSetup" data-uid="GrapeCity.Documents.Word.Section.PageSetup">
          <a class="xref" href="GrapeCity.Documents.Word.Section.PageSetup.html#GrapeCity_Documents_Word_Section_PageSetup">PageSetup</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Word.Section.PageSetup.html#GrapeCity_Documents_Word_Section_PageSetup">PageSetup</a> object associated with this section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_ParentBody" data-uid="GrapeCity.Documents.Word.Section.ParentBody">
          <a class="xref" href="GrapeCity.Documents.Word.Section.ParentBody.html#GrapeCity_Documents_Word_Section_ParentBody">ParentBody</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the parent <a class="xref" href="GrapeCity.Documents.Word.Body.html">Body</a> of this content object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_Previous" data-uid="GrapeCity.Documents.Word.Section.Previous">
          <a class="xref" href="GrapeCity.Documents.Word.Section.Previous.html#GrapeCity_Documents_Word_Section_Previous">Previous</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the previous section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_ProtectedForForms" data-uid="GrapeCity.Documents.Word.Section.ProtectedForForms">
          <a class="xref" href="GrapeCity.Documents.Word.Section.ProtectedForForms.html#GrapeCity_Documents_Word_Section_ProtectedForForms">ProtectedForForms</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether this section is protected for forms.</p>
<p>
When a section is protected for forms, users can select and modify text only in form fields in Microsoft Word.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_RevisionId" data-uid="GrapeCity.Documents.Word.Section.RevisionId">
          <a class="xref" href="GrapeCity.Documents.Word.Section.RevisionId.html#GrapeCity_Documents_Word_Section_RevisionId">RevisionId</a>
        </td>
        <td class="markdown level1 summary"><p>Gets unique identifiers used to track the section editing session.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_Start" data-uid="GrapeCity.Documents.Word.Section.Start">
          <a class="xref" href="GrapeCity.Documents.Word.Section.Start.html#GrapeCity_Documents_Word_Section_Start">Start</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Word.Marker.html">Marker</a> representing the start of this content object in the parent body.</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="GrapeCity_Documents_Word_Section_AddContentControl_GrapeCity_Documents_Word_ContentControlType_System_Boolean_" data-uid="GrapeCity.Documents.Word.Section.AddContentControl(GrapeCity.Documents.Word.ContentControlType,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Word.Section.AddContentControl.html#GrapeCity_Documents_Word_Section_AddContentControl_GrapeCity_Documents_Word_ContentControlType_System_Boolean_">AddContentControl(ContentControlType, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.ContentControl.html">ContentControl</a> to the end of the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_AddParagraph" data-uid="GrapeCity.Documents.Word.Section.AddParagraph">
          <a class="xref" href="GrapeCity.Documents.Word.Section.AddParagraph.html#GrapeCity_Documents_Word_Section_AddParagraph">AddParagraph()</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Paragraph.html">Paragraph</a> to the end of the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_AddParagraph_GrapeCity_Documents_Word_Style_" data-uid="GrapeCity.Documents.Word.Section.AddParagraph(GrapeCity.Documents.Word.Style)">
          <a class="xref" href="GrapeCity.Documents.Word.Section.AddParagraph.html#GrapeCity_Documents_Word_Section_AddParagraph_GrapeCity_Documents_Word_Style_">AddParagraph(Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Paragraph.html">Paragraph</a> to the end of the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_AddParagraph_System_String_" data-uid="GrapeCity.Documents.Word.Section.AddParagraph(System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.Section.AddParagraph.html#GrapeCity_Documents_Word_Section_AddParagraph_System_String_">AddParagraph(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Paragraph.html">Paragraph</a> to the end of the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_AddParagraph_System_String_GrapeCity_Documents_Word_Style_" data-uid="GrapeCity.Documents.Word.Section.AddParagraph(System.String,GrapeCity.Documents.Word.Style)">
          <a class="xref" href="GrapeCity.Documents.Word.Section.AddParagraph.html#GrapeCity_Documents_Word_Section_AddParagraph_System_String_GrapeCity_Documents_Word_Style_">AddParagraph(string, Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Paragraph.html">Paragraph</a> to the end of the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_AddTable" data-uid="GrapeCity.Documents.Word.Section.AddTable">
          <a class="xref" href="GrapeCity.Documents.Word.Section.AddTable.html#GrapeCity_Documents_Word_Section_AddTable">AddTable()</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Table.html">Table</a> to the end of the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_AddTable_GrapeCity_Documents_Word_Style_" data-uid="GrapeCity.Documents.Word.Section.AddTable(GrapeCity.Documents.Word.Style)">
          <a class="xref" href="GrapeCity.Documents.Word.Section.AddTable.html#GrapeCity_Documents_Word_Section_AddTable_GrapeCity_Documents_Word_Style_">AddTable(Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Table.html">Table</a> to the end of the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_AddTable_System_Int32_System_Int32_" data-uid="GrapeCity.Documents.Word.Section.AddTable(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Word.Section.AddTable.html#GrapeCity_Documents_Word_Section_AddTable_System_Int32_System_Int32_">AddTable(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Table.html">Table</a> to the end of the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_AddTable_System_Int32_System_Int32_GrapeCity_Documents_Word_Style_" data-uid="GrapeCity.Documents.Word.Section.AddTable(System.Int32,System.Int32,GrapeCity.Documents.Word.Style)">
          <a class="xref" href="GrapeCity.Documents.Word.Section.AddTable.html#GrapeCity_Documents_Word_Section_AddTable_System_Int32_System_Int32_GrapeCity_Documents_Word_Style_">AddTable(int, int, Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Table.html">Table</a> to the end of the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_AddTable_System_String_____" data-uid="GrapeCity.Documents.Word.Section.AddTable(System.String[][])">
          <a class="xref" href="GrapeCity.Documents.Word.Section.AddTable.html#GrapeCity_Documents_Word_Section_AddTable_System_String_____">AddTable(string[][])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Table.html">Table</a> to the end of the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_AddTable_System_String_____GrapeCity_Documents_Word_Style_" data-uid="GrapeCity.Documents.Word.Section.AddTable(System.String[][],GrapeCity.Documents.Word.Style)">
          <a class="xref" href="GrapeCity.Documents.Word.Section.AddTable.html#GrapeCity_Documents_Word_Section_AddTable_System_String_____GrapeCity_Documents_Word_Style_">AddTable(string[][], Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Table.html">Table</a> to the end of the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_CanAdd_System_Type_" data-uid="GrapeCity.Documents.Word.Section.CanAdd(System.Type)">
          <a class="xref" href="GrapeCity.Documents.Word.Section.CanAdd.html#GrapeCity_Documents_Word_Section_CanAdd_System_Type_">CanAdd(Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether a <a class="xref" href="GrapeCity.Documents.Word.ContentObject.html">ContentObject</a> of the specified type can be added to the current section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_CanAdd_System_Type_System_Exception__" data-uid="GrapeCity.Documents.Word.Section.CanAdd(System.Type,System.Exception@)">
          <a class="xref" href="GrapeCity.Documents.Word.Section.CanAdd.html#GrapeCity_Documents_Word_Section_CanAdd_System_Type_System_Exception__">CanAdd(Type, out Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether a <a class="xref" href="GrapeCity.Documents.Word.ContentObject.html">ContentObject</a> of the specified type can be added to the current section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_CanAddContentControl_GrapeCity_Documents_Word_ContentControlType_" data-uid="GrapeCity.Documents.Word.Section.CanAddContentControl(GrapeCity.Documents.Word.ContentControlType)">
          <a class="xref" href="GrapeCity.Documents.Word.Section.CanAddContentControl.html#GrapeCity_Documents_Word_Section_CanAddContentControl_GrapeCity_Documents_Word_ContentControlType_">CanAddContentControl(ContentControlType)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether a <a class="xref" href="GrapeCity.Documents.Word.ContentControl.html">ContentControl</a> of the specified type can be added to the current section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_CanAddContentControl_GrapeCity_Documents_Word_ContentControlType_System_Exception__" data-uid="GrapeCity.Documents.Word.Section.CanAddContentControl(GrapeCity.Documents.Word.ContentControlType,System.Exception@)">
          <a class="xref" href="GrapeCity.Documents.Word.Section.CanAddContentControl.html#GrapeCity_Documents_Word_Section_CanAddContentControl_GrapeCity_Documents_Word_ContentControlType_System_Exception__">CanAddContentControl(ContentControlType, out Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether a <a class="xref" href="GrapeCity.Documents.Word.ContentControl.html">ContentControl</a> of the specified type can be added to the current section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_Delete" data-uid="GrapeCity.Documents.Word.Section.Delete">
          <a class="xref" href="GrapeCity.Documents.Word.Section.Delete.html#GrapeCity_Documents_Word_Section_Delete">Delete()</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes the section from the parent <a class="xref" href="GrapeCity.Documents.Word.Body.html">Body</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_GetChildren__1" data-uid="GrapeCity.Documents.Word.Section.GetChildren``1">
          <a class="xref" href="GrapeCity.Documents.Word.Section.GetChildren.html#GrapeCity_Documents_Word_Section_GetChildren__1">GetChildren&lt;T&gt;()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of this section's children of a specified type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_GetRange" data-uid="GrapeCity.Documents.Word.Section.GetRange">
          <a class="xref" href="GrapeCity.Documents.Word.Section.GetRange.html#GrapeCity_Documents_Word_Section_GetRange">GetRange()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates and returns a <a class="xref" href="GrapeCity.Documents.Word.Range.html">Range</a> associated with this content object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_MergeWithNext" data-uid="GrapeCity.Documents.Word.Section.MergeWithNext">
          <a class="xref" href="GrapeCity.Documents.Word.Section.MergeWithNext.html#GrapeCity_Documents_Word_Section_MergeWithNext">MergeWithNext()</a>
        </td>
        <td class="markdown level1 summary"><p>Merges this section with the next one.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_MergeWithPrevious" data-uid="GrapeCity.Documents.Word.Section.MergeWithPrevious">
          <a class="xref" href="GrapeCity.Documents.Word.Section.MergeWithPrevious.html#GrapeCity_Documents_Word_Section_MergeWithPrevious">MergeWithPrevious()</a>
        </td>
        <td class="markdown level1 summary"><p>Merges this section with the previous one.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Section_ToString" data-uid="GrapeCity.Documents.Word.Section.ToString">
          <a class="xref" href="GrapeCity.Documents.Word.Section.ToString.html#GrapeCity_Documents_Word_Section_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets string representation of the section.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
