# FarPoint.Win.Spread.FpSpread.GetOwnerPrintRowPageBreaks

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_FpSpread_GetOwnerPrintRowPageBreaks_" data-uid="FarPoint.Win.Spread.FpSpread.GetOwnerPrintRowPageBreaks*">GetOwnerPrintRowPageBreaks Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_FpSpread_GetOwnerPrintRowPageBreaks_" data-uid="FarPoint.Win.Spread.FpSpread.GetOwnerPrintRowPageBreaks*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_GetOwnerPrintRowPageBreaks_System_Drawing_Graphics_System_Drawing_Rectangle_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.FpSpread.GetOwnerPrintRowPageBreaks(System.Drawing.Graphics,System.Drawing.Rectangle,System.Int32,System.Boolean)">GetOwnerPrintRowPageBreaks(Graphics, Rectangle, int, bool)</h4>
<div class="markdown level1 summary"><p>Gets the row page breaks for the specified sheet under the current printing conditions.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int[] GetOwnerPrintRowPageBreaks(Graphics g, Rectangle rect, int sheet, bool reCalc)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetOwnerPrintRowPageBreaks(g As Graphics, rect As Rectangle, sheet As Integer, reCalc As Boolean) As Integer()</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.drawing.graphics">Graphics</a></td>
      <td><span class="parametername">g</span></td>
      <td><p>Graphics object used for printing</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">rect</span></td>
      <td><p>Rectangle area that represents the area for printing</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">sheet</span></td>
      <td><p>Sheet for which to calculate page breaks</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">reCalc</span></td>
      <td><p>Whether to recalcuate the page break</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[]</td>
      <td><p>The rows page breaks for the specified sheet</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_GetOwnerPrintRowPageBreaks_" data-uid="FarPoint.Win.Spread.FpSpread.GetOwnerPrintRowPageBreaks*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_GetOwnerPrintRowPageBreaks_System_Drawing_Graphics_System_Drawing_Rectangle_System_Int32_System_Boolean_FarPoint_Win_Spread_OwnerPrintInfo_" data-uid="FarPoint.Win.Spread.FpSpread.GetOwnerPrintRowPageBreaks(System.Drawing.Graphics,System.Drawing.Rectangle,System.Int32,System.Boolean,FarPoint.Win.Spread.OwnerPrintInfo)">GetOwnerPrintRowPageBreaks(Graphics, Rectangle, int, bool, OwnerPrintInfo)</h4>
<div class="markdown level1 summary"><p>Gets the row page breaks for the specified sheet under the current printing conditions.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int[] GetOwnerPrintRowPageBreaks(Graphics g, Rectangle rect, int sheet, bool reCalc, OwnerPrintInfo info)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetOwnerPrintRowPageBreaks(g As Graphics, rect As Rectangle, sheet As Integer, reCalc As Boolean, info As OwnerPrintInfo) As Integer()</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.drawing.graphics">Graphics</a></td>
      <td><span class="parametername">g</span></td>
      <td><p>Graphics object used for printing</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">rect</span></td>
      <td><p>Rectangle area representing the area for printing</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">sheet</span></td>
      <td><p>Sheet for which to calculate page breaks</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">reCalc</span></td>
      <td><p>Whether to recalcuate page break</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.OwnerPrintInfo.html">OwnerPrintInfo</a></td>
      <td><span class="parametername">info</span></td>
      <td><p>The printing information.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[]</td>
      <td><p>The rows page breaks for the specified sheet</p>
</td>
    </tr>
  </tbody>
</table>
</div>
