# GrapeCity.Documents.Drawing.TextRenderer.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Drawing_TextRenderer__ctor_" data-uid="GrapeCity.Documents.Drawing.TextRenderer.#ctor*">TextRenderer Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Drawing_TextRenderer__ctor_" data-uid="GrapeCity.Documents.Drawing.TextRenderer.#ctor*"></a>
<h4 id="GrapeCity_Documents_Drawing_TextRenderer__ctor_GrapeCity_Documents_Text_TextLayout_GrapeCity_Documents_Text_TextSplitOptions_" data-uid="GrapeCity.Documents.Drawing.TextRenderer.#ctor(GrapeCity.Documents.Text.TextLayout,GrapeCity.Documents.Text.TextSplitOptions)">TextRenderer(TextLayout, TextSplitOptions)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Text.TextLayout.html">TextLayout</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TextRenderer(TextLayout textLayout, TextSplitOptions splitOptions)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(textLayout As TextLayout, splitOptions As TextSplitOptions)</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.TextLayout.html">TextLayout</a></td>
      <td><span class="parametername">textLayout</span></td>
      <td><p>The text layout to split and render.</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>The splittin options.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
