# GrapeCity.Documents.Text.TextSplitOptions

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Text_TextSplitOptions" data-uid="GrapeCity.Documents.Text.TextSplitOptions" class="text-break">TextSplitOptions Class
</h1>
  <div class="markdown level0 summary"><p>Provides options for text splitting.</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">TextSplitOptions</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Text.html">GrapeCity.Documents.Text</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Text_TextSplitOptions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TextSplitOptions</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TextSplitOptions</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="GrapeCity_Documents_Text_TextSplitOptions__ctor" data-uid="GrapeCity.Documents.Text.TextSplitOptions.#ctor">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.-ctor.html#GrapeCity_Documents_Text_TextSplitOptions__ctor">TextSplitOptions()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.html">TextSplitOptions</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions__ctor_GrapeCity_Documents_Text_TextLayout_" data-uid="GrapeCity.Documents.Text.TextSplitOptions.#ctor(GrapeCity.Documents.Text.TextLayout)">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.-ctor.html#GrapeCity_Documents_Text_TextSplitOptions__ctor_GrapeCity_Documents_Text_TextLayout_">TextSplitOptions(TextLayout)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.html">TextSplitOptions</a> class copying data from the given <a class="xref" href="GrapeCity.Documents.Text.TextLayout.html">TextLayout</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions__ctor_GrapeCity_Documents_Text_TextSplitOptions_" data-uid="GrapeCity.Documents.Text.TextSplitOptions.#ctor(GrapeCity.Documents.Text.TextSplitOptions)">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.-ctor.html#GrapeCity_Documents_Text_TextSplitOptions__ctor_GrapeCity_Documents_Text_TextSplitOptions_">TextSplitOptions(TextSplitOptions)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.html">TextSplitOptions</a> class copying data from another instance of <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.html">TextSplitOptions</a>.</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="GrapeCity_Documents_Text_TextSplitOptions_AddSpacingAfterLastLine" data-uid="GrapeCity.Documents.Text.TextSplitOptions.AddSpacingAfterLastLine">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.AddSpacingAfterLastLine.html#GrapeCity_Documents_Text_TextSplitOptions_AddSpacingAfterLastLine">AddSpacingAfterLastLine</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether a line spacing should be added after the last line of the current <a class="xref" href="GrapeCity.Documents.Text.TextLayout.html">TextLayout</a> after splitting.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions_AllowMovingAllToRest" data-uid="GrapeCity.Documents.Text.TextSplitOptions.AllowMovingAllToRest">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.AllowMovingAllToRest.html#GrapeCity_Documents_Text_TextSplitOptions_AllowMovingAllToRest">AllowMovingAllToRest</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether, if no part of the content can fit in the current layout,
to move all content to rest <a class="xref" href="GrapeCity.Documents.Text.TextLayout.html">TextLayout</a>.
The default is false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions_KeepParagraphLinesTogether" data-uid="GrapeCity.Documents.Text.TextSplitOptions.KeepParagraphLinesTogether">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.KeepParagraphLinesTogether.html#GrapeCity_Documents_Text_TextSplitOptions_KeepParagraphLinesTogether">KeepParagraphLinesTogether</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether paragraphs should be kept together (cannot be split between pages or columns).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions_LineGapBeforeFirstLine" data-uid="GrapeCity.Documents.Text.TextSplitOptions.LineGapBeforeFirstLine">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.LineGapBeforeFirstLine.html#GrapeCity_Documents_Text_TextSplitOptions_LineGapBeforeFirstLine">LineGapBeforeFirstLine</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the typographic line gap should be added before the first line of the rest <a class="xref" href="GrapeCity.Documents.Text.TextLayout.html">TextLayout</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions_MinLinesInFirstParagraph" data-uid="GrapeCity.Documents.Text.TextSplitOptions.MinLinesInFirstParagraph">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.MinLinesInFirstParagraph.html#GrapeCity_Documents_Text_TextSplitOptions_MinLinesInFirstParagraph">MinLinesInFirstParagraph</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum number of lines on the last page (or at the ending of the first paragraph on the next page) to prevent widows.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions_MinLinesInLastParagraph" data-uid="GrapeCity.Documents.Text.TextSplitOptions.MinLinesInLastParagraph">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.MinLinesInLastParagraph.html#GrapeCity_Documents_Text_TextSplitOptions_MinLinesInLastParagraph">MinLinesInLastParagraph</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum number of lines that must appear at the beginning of the last paragraph to prevent orphans.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions_RestColumnWidth" data-uid="GrapeCity.Documents.Text.TextSplitOptions.RestColumnWidth">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.RestColumnWidth.html#GrapeCity_Documents_Text_TextSplitOptions_RestColumnWidth">RestColumnWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the layout box measured from left or right margin for the rest of the text after splitting, in graphic units.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions_RestMarginBottom" data-uid="GrapeCity.Documents.Text.TextSplitOptions.RestMarginBottom">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.RestMarginBottom.html#GrapeCity_Documents_Text_TextSplitOptions_RestMarginBottom">RestMarginBottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the bottom margin of the layout box for the rest of the text after splitting, in graphic units.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions_RestMarginLeft" data-uid="GrapeCity.Documents.Text.TextSplitOptions.RestMarginLeft">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.RestMarginLeft.html#GrapeCity_Documents_Text_TextSplitOptions_RestMarginLeft">RestMarginLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the left margin of the layout box for the rest of the text after splitting, in graphic units.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions_RestMarginRight" data-uid="GrapeCity.Documents.Text.TextSplitOptions.RestMarginRight">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.RestMarginRight.html#GrapeCity_Documents_Text_TextSplitOptions_RestMarginRight">RestMarginRight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the right margin of the layout box for the rest of the text after splitting, in graphic units.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions_RestMarginTop" data-uid="GrapeCity.Documents.Text.TextSplitOptions.RestMarginTop">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.RestMarginTop.html#GrapeCity_Documents_Text_TextSplitOptions_RestMarginTop">RestMarginTop</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the top margin of the layout box for the rest of the text after splitting, in graphic units.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions_RestMaxHeight" data-uid="GrapeCity.Documents.Text.TextSplitOptions.RestMaxHeight">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.RestMaxHeight.html#GrapeCity_Documents_Text_TextSplitOptions_RestMaxHeight">RestMaxHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the height of the layout box for the rest of the text after splitting, in graphic units.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions_RestMaxWidth" data-uid="GrapeCity.Documents.Text.TextSplitOptions.RestMaxWidth">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.RestMaxWidth.html#GrapeCity_Documents_Text_TextSplitOptions_RestMaxWidth">RestMaxWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the layout box for the rest of the text after splitting, in graphic units.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions_RestObjectRects" data-uid="GrapeCity.Documents.Text.TextSplitOptions.RestObjectRects">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.RestObjectRects.html#GrapeCity_Documents_Text_TextSplitOptions_RestObjectRects">RestObjectRects</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the list of areas occupied by embedded objects for the rest of the text after splitting.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextSplitOptions_RestRowHeight" data-uid="GrapeCity.Documents.Text.TextSplitOptions.RestRowHeight">
          <a class="xref" href="GrapeCity.Documents.Text.TextSplitOptions.RestRowHeight.html#GrapeCity_Documents_Text_TextSplitOptions_RestRowHeight">RestRowHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the height of the layout box measured from top or bottom margin for the rest of the text after splitting, in graphic units.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
