# C1.C1Preview.C1HyperlinkTextAttrs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1HyperlinkTextAttrs__ctor_" data-uid="C1.C1Preview.C1HyperlinkTextAttrs.#ctor*">C1HyperlinkTextAttrs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1HyperlinkTextAttrs__ctor_" data-uid="C1.C1Preview.C1HyperlinkTextAttrs.#ctor*"></a>
<h4 id="C1_C1Preview_C1HyperlinkTextAttrs__ctor" data-uid="C1.C1Preview.C1HyperlinkTextAttrs.#ctor">C1HyperlinkTextAttrs()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1HyperlinkTextAttrs.html">C1HyperlinkTextAttrs</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 C1HyperlinkTextAttrs()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_C1Preview_C1HyperlinkTextAttrs__ctor_" data-uid="C1.C1Preview.C1HyperlinkTextAttrs.#ctor*"></a>
<h4 id="C1_C1Preview_C1HyperlinkTextAttrs__ctor_System_Drawing_Color_System_Drawing_Color_System_Boolean_" data-uid="C1.C1Preview.C1HyperlinkTextAttrs.#ctor(System.Drawing.Color,System.Drawing.Color,System.Boolean)">C1HyperlinkTextAttrs(Color, Color, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1HyperlinkTextAttrs.html">C1HyperlinkTextAttrs</a> class,
assigning background and foreground colors and <a class="xref" href="C1.C1Preview.C1HyperlinkTextAttrs.Underline.html#C1_C1Preview_C1HyperlinkTextAttrs_Underline">Underline</a> property.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1HyperlinkTextAttrs(Color backColor, Color foreColor, bool underline)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(backColor As Color, foreColor As Color, underline As Boolean)</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.color">Color</a></td>
      <td><span class="parametername">backColor</span></td>
      <td><p>The background color of the hyperlink text.</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">foreColor</span></td>
      <td><p>The foreground color of the hyperlink text.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">underline</span></td>
      <td><p>A value indicating whether the hyperlink text should be underlined.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_C1HyperlinkTextAttrs__ctor_" data-uid="C1.C1Preview.C1HyperlinkTextAttrs.#ctor*"></a>
<h4 id="C1_C1Preview_C1HyperlinkTextAttrs__ctor_System_Boolean_" data-uid="C1.C1Preview.C1HyperlinkTextAttrs.#ctor(System.Boolean)">C1HyperlinkTextAttrs(bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1HyperlinkTextAttrs.html">C1HyperlinkTextAttrs</a> class,
assigning <a class="xref" href="C1.C1Preview.C1HyperlinkTextAttrs.Underline.html#C1_C1Preview_C1HyperlinkTextAttrs_Underline">Underline</a> property.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1HyperlinkTextAttrs(bool underline)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(underline As Boolean)</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.boolean">bool</a></td>
      <td><span class="parametername">underline</span></td>
      <td><p>A value indicating whether the hyperlink text should be underlined.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
