# C1.C1Preview.RenderParagraph.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_RenderParagraph__ctor_" data-uid="C1.C1Preview.RenderParagraph.#ctor*">RenderParagraph Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_RenderParagraph__ctor_" data-uid="C1.C1Preview.RenderParagraph.#ctor*"></a>
<h4 id="C1_C1Preview_RenderParagraph__ctor" data-uid="C1.C1Preview.RenderParagraph.#ctor">RenderParagraph()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</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 RenderParagraph()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_C1Preview_RenderParagraph__ctor_" data-uid="C1.C1Preview.RenderParagraph.#ctor*"></a>
<h4 id="C1_C1Preview_RenderParagraph__ctor_C1_C1Preview_Style_" data-uid="C1.C1Preview.RenderParagraph.#ctor(C1.C1Preview.Style)">RenderParagraph(Style)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> class,
specifying a <a class="xref" href="C1.C1Preview.Style.html">Style</a> to use.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderParagraph(Style style)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(style As Style)</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="C1.C1Preview.Style.html">Style</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>A <a class="xref" href="C1.C1Preview.Style.html">Style</a> to use
(the <a class="xref" href="C1.C1Preview.Style.AssignNonInheritedFrom.html#C1_C1Preview_Style_AssignNonInheritedFrom_C1_C1Preview_Style_">AssignNonInheritedFrom(Style)</a> method
is used to copy the specified style to the current object's <a class="xref" href="C1.C1Preview.RenderObject.Style.html#C1_C1Preview_RenderObject_Style">Style</a>).</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderParagraph__ctor_" data-uid="C1.C1Preview.RenderParagraph.#ctor*"></a>
<h4 id="C1_C1Preview_RenderParagraph__ctor_System_Drawing_Font_" data-uid="C1.C1Preview.RenderParagraph.#ctor(System.Drawing.Font)">RenderParagraph(Font)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> class,
specifying a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a> to use.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderParagraph(Font font)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(font As Font)</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.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>The default font for the current paragraph.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderParagraph__ctor_" data-uid="C1.C1Preview.RenderParagraph.#ctor*"></a>
<h4 id="C1_C1Preview_RenderParagraph__ctor_System_Drawing_Font_System_Drawing_Color_" data-uid="C1.C1Preview.RenderParagraph.#ctor(System.Drawing.Font,System.Drawing.Color)">RenderParagraph(Font, Color)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> class,
specifying the default font and text color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderParagraph(Font font, Color textColor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(font As Font, textColor As Color)</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.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>The default font for the current paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">textColor</span></td>
      <td><p>The default text color for the current paragraph.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderParagraph__ctor_" data-uid="C1.C1Preview.RenderParagraph.#ctor*"></a>
<h4 id="C1_C1Preview_RenderParagraph__ctor_System_Drawing_Font_System_Drawing_Color_C1_C1Preview_AlignHorzEnum_" data-uid="C1.C1Preview.RenderParagraph.#ctor(System.Drawing.Font,System.Drawing.Color,C1.C1Preview.AlignHorzEnum)">RenderParagraph(Font, Color, AlignHorzEnum)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> class,
specifying the default font, text color and horizontal alignment.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderParagraph(Font font, Color textColor, AlignHorzEnum horzAlign)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(font As Font, textColor As Color, horzAlign As AlignHorzEnum)</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.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>The default font for the current paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">textColor</span></td>
      <td><p>The default text color for the current paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.AlignHorzEnum.html">AlignHorzEnum</a></td>
      <td><span class="parametername">horzAlign</span></td>
      <td><p>The horizontal alignment for the current paragraph.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderParagraph__ctor_" data-uid="C1.C1Preview.RenderParagraph.#ctor*"></a>
<h4 id="C1_C1Preview_RenderParagraph__ctor_System_Drawing_Font_C1_C1Preview_AlignHorzEnum_" data-uid="C1.C1Preview.RenderParagraph.#ctor(System.Drawing.Font,C1.C1Preview.AlignHorzEnum)">RenderParagraph(Font, AlignHorzEnum)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> class,
specifying the default font and horizontal alignment.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderParagraph(Font font, AlignHorzEnum horzAlign)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(font As Font, horzAlign As AlignHorzEnum)</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.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>The default font for the current paragraph.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.AlignHorzEnum.html">AlignHorzEnum</a></td>
      <td><span class="parametername">horzAlign</span></td>
      <td><p>The horizontal alignment for the current paragraph.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderParagraph__ctor_" data-uid="C1.C1Preview.RenderParagraph.#ctor*"></a>
<h4 id="C1_C1Preview_RenderParagraph__ctor_C1_C1Preview_AlignHorzEnum_" data-uid="C1.C1Preview.RenderParagraph.#ctor(C1.C1Preview.AlignHorzEnum)">RenderParagraph(AlignHorzEnum)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> class,
specifying the horizontal alignment.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderParagraph(AlignHorzEnum horzAlign)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(horzAlign As AlignHorzEnum)</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="C1.C1Preview.AlignHorzEnum.html">AlignHorzEnum</a></td>
      <td><span class="parametername">horzAlign</span></td>
      <td><p>The horizontal alignment for the current paragraph.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
