# GrapeCity.SpreadBuilder.DDSheet.AddVerticalPageBreak

## Content

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



<h1 id="GrapeCity_SpreadBuilder_DDSheet_AddVerticalPageBreak_" data-uid="GrapeCity.SpreadBuilder.DDSheet.AddVerticalPageBreak*">AddVerticalPageBreak Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_SpreadBuilder_DDSheet_AddVerticalPageBreak_" data-uid="GrapeCity.SpreadBuilder.DDSheet.AddVerticalPageBreak*"></a>
<h4 id="GrapeCity_SpreadBuilder_DDSheet_AddVerticalPageBreak_System_UInt16_System_UInt16_System_UInt16_" data-uid="GrapeCity.SpreadBuilder.DDSheet.AddVerticalPageBreak(System.UInt16,System.UInt16,System.UInt16)">AddVerticalPageBreak(ushort, ushort, ushort)</h4>
<div class="markdown level1 summary"><p>Adds a vertical page break to the sheet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AddVerticalPageBreak(ushort col, ushort rowstart, ushort rowend)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint16">ushort</a></td>
      <td><span class="parametername">col</span></td>
      <td><p>The column after which the break should be placed (1 based).</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint16">ushort</a></td>
      <td><span class="parametername">rowstart</span></td>
      <td><p>The starting row of the break (1 based).</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint16">ushort</a></td>
      <td><span class="parametername">rowend</span></td>
      <td><p>The last row of the break (1 based).</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_SpreadBuilder_DDSheet_AddVerticalPageBreak_System_UInt16_System_UInt16_System_UInt16__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Page breaks must not overlap.
The break comes after the row or column.</p>
</div>
</div>
