# GrapeCity.Documents.Text.TextLayoutSplitter.SplitAndBalance

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Text_TextLayoutSplitter_SplitAndBalance_" data-uid="GrapeCity.Documents.Text.TextLayoutSplitter.SplitAndBalance*">SplitAndBalance Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Text_TextLayoutSplitter_SplitAndBalance_" data-uid="GrapeCity.Documents.Text.TextLayoutSplitter.SplitAndBalance*"></a>
<h4 id="GrapeCity_Documents_Text_TextLayoutSplitter_SplitAndBalance_GrapeCity_Documents_Text_PageSplitArea___GrapeCity_Documents_Text_TextSplitOptions_" data-uid="GrapeCity.Documents.Text.TextLayoutSplitter.SplitAndBalance(GrapeCity.Documents.Text.PageSplitArea[],GrapeCity.Documents.Text.TextSplitOptions)">SplitAndBalance(PageSplitArea[], TextSplitOptions)</h4>
<div class="markdown level1 summary"><p>Fits all or the first portion of the current text layout into one or more layout areas (such as page columns).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TextLayout SplitAndBalance(PageSplitArea[] pageAreas, TextSplitOptions splitOptions)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SplitAndBalance(pageAreas As PageSplitArea(), splitOptions As TextSplitOptions) As TextLayout</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="GrapeCity.Documents.Text.PageSplitArea.html">PageSplitArea</a>[]</td>
      <td><span class="parametername">pageAreas</span></td>
      <td><p>An array of additional page areas (e.g. representing 2nd etc columns) that can be used to layout the text.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.html">TextSplitOptions</a></td>
      <td><span class="parametername">splitOptions</span></td>
      <td><p>Options controlling how to split the text.</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="GrapeCity.Documents.Text.TextLayout.html">TextLayout</a></td>
      <td><p>The split portion (the text that fits in the specified bounds and can be rendered, along with additional areas in <code class="paramref">pageAreas</code>),
or null if there is nothing more to render.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
