# C1.C1Preview.C1Hyperlink.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1Hyperlink__ctor_" data-uid="C1.C1Preview.C1Hyperlink.#ctor*">C1Hyperlink Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1Hyperlink__ctor_" data-uid="C1.C1Preview.C1Hyperlink.#ctor*"></a>
<h4 id="C1_C1Preview_C1Hyperlink__ctor" data-uid="C1.C1Preview.C1Hyperlink.#ctor">C1Hyperlink()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</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 C1Hyperlink()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_C1Preview_C1Hyperlink__ctor_" data-uid="C1.C1Preview.C1Hyperlink.#ctor*"></a>
<h4 id="C1_C1Preview_C1Hyperlink__ctor_C1_C1Preview_RenderObject_" data-uid="C1.C1Preview.C1Hyperlink.#ctor(C1.C1Preview.RenderObject)">C1Hyperlink(RenderObject)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> class,
assigning its <a class="xref" href="C1.C1Preview.C1Hyperlink.LinkTarget.html#C1_C1Preview_C1Hyperlink_LinkTarget">LinkTarget</a> to a <a class="xref" href="C1.C1Preview.C1LinkTargetDocumentLocation.html">C1LinkTargetDocumentLocation</a>
associated with the specified <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1Hyperlink(RenderObject renderObject)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(renderObject As RenderObject)</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.RenderObject.html">RenderObject</a></td>
      <td><span class="parametername">renderObject</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a> to set as the target of the current hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_C1Hyperlink__ctor_" data-uid="C1.C1Preview.C1Hyperlink.#ctor*"></a>
<h4 id="C1_C1Preview_C1Hyperlink__ctor_C1_C1Preview_ParagraphObject_" data-uid="C1.C1Preview.C1Hyperlink.#ctor(C1.C1Preview.ParagraphObject)">C1Hyperlink(ParagraphObject)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> class,
assigning its <a class="xref" href="C1.C1Preview.C1Hyperlink.LinkTarget.html#C1_C1Preview_C1Hyperlink_LinkTarget">LinkTarget</a> to a <a class="xref" href="C1.C1Preview.C1LinkTargetDocumentLocation.html">C1LinkTargetDocumentLocation</a>
associated with the specified <a class="xref" href="C1.C1Preview.ParagraphObject.html">ParagraphObject</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1Hyperlink(ParagraphObject paragraphObject)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(paragraphObject As ParagraphObject)</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.ParagraphObject.html">ParagraphObject</a></td>
      <td><span class="parametername">paragraphObject</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.ParagraphObject.html">ParagraphObject</a> to set as the target of the current hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_C1Hyperlink__ctor_" data-uid="C1.C1Preview.C1Hyperlink.#ctor*"></a>
<h4 id="C1_C1Preview_C1Hyperlink__ctor_C1_C1Preview_C1LinkTarget_" data-uid="C1.C1Preview.C1Hyperlink.#ctor(C1.C1Preview.C1LinkTarget)">C1Hyperlink(C1LinkTarget)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> class,
assigning its <a class="xref" href="C1.C1Preview.C1Hyperlink.LinkTarget.html#C1_C1Preview_C1Hyperlink_LinkTarget">LinkTarget</a> to the specified <a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1Hyperlink(C1LinkTarget linkTarget)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(linkTarget As C1LinkTarget)</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.C1LinkTarget.html">C1LinkTarget</a></td>
      <td><span class="parametername">linkTarget</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a> to set as the target of the current hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_C1Hyperlink__ctor_" data-uid="C1.C1Preview.C1Hyperlink.#ctor*"></a>
<h4 id="C1_C1Preview_C1Hyperlink__ctor_C1_C1Preview_C1LinkTarget_System_String_" data-uid="C1.C1Preview.C1Hyperlink.#ctor(C1.C1Preview.C1LinkTarget,System.String)">C1Hyperlink(C1LinkTarget, string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> class,
assigning its <a class="xref" href="C1.C1Preview.C1Hyperlink.LinkTarget.html#C1_C1Preview_C1Hyperlink_LinkTarget">LinkTarget</a> to the specified <a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1Hyperlink(C1LinkTarget linkTarget, string statusText)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(linkTarget As C1LinkTarget, statusText As String)</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.C1LinkTarget.html">C1LinkTarget</a></td>
      <td><span class="parametername">linkTarget</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a> to set as the target of the current hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">statusText</span></td>
      <td><p>The string to assign to <a class="xref" href="C1.C1Preview.C1Hyperlink.StatusText.html#C1_C1Preview_C1Hyperlink_StatusText">StatusText</a> of the current hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_C1Hyperlink__ctor_" data-uid="C1.C1Preview.C1Hyperlink.#ctor*"></a>
<h4 id="C1_C1Preview_C1Hyperlink__ctor_C1_C1Preview_C1LinkTarget_System_String_System_Object_" data-uid="C1.C1Preview.C1Hyperlink.#ctor(C1.C1Preview.C1LinkTarget,System.String,System.Object)">C1Hyperlink(C1LinkTarget, string, object)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> class,
assigning its <a class="xref" href="C1.C1Preview.C1Hyperlink.LinkTarget.html#C1_C1Preview_C1Hyperlink_LinkTarget">LinkTarget</a> to the specified <a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1Hyperlink(C1LinkTarget linkTarget, string statusText, object userData)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(linkTarget As C1LinkTarget, statusText As String, userData As Object)</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.C1LinkTarget.html">C1LinkTarget</a></td>
      <td><span class="parametername">linkTarget</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a> to set as the target of the current hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">statusText</span></td>
      <td><p>The string to assign to <a class="xref" href="C1.C1Preview.C1Hyperlink.StatusText.html#C1_C1Preview_C1Hyperlink_StatusText">StatusText</a> of the current hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">userData</span></td>
      <td><p>Arbitrary value to assign to <a class="xref" href="C1.C1Preview.C1Hyperlink.UserData.html#C1_C1Preview_C1Hyperlink_UserData">UserData</a> of the current hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_C1Hyperlink__ctor_" data-uid="C1.C1Preview.C1Hyperlink.#ctor*"></a>
<h4 id="C1_C1Preview_C1Hyperlink__ctor_System_String_" data-uid="C1.C1Preview.C1Hyperlink.#ctor(System.String)">C1Hyperlink(string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> class,
assigning its <a class="xref" href="C1.C1Preview.C1Hyperlink.LinkTarget.html#C1_C1Preview_C1Hyperlink_LinkTarget">LinkTarget</a> to a <a class="xref" href="C1.C1Preview.C1LinkTargetAnchor.html">C1LinkTargetAnchor</a>
associated with the specified anchor name.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1Hyperlink(string anchorName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(anchorName As String)</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.string">string</a></td>
      <td><span class="parametername">anchorName</span></td>
      <td><p>The name of the <a class="xref" href="C1.C1Preview.C1Anchor.html">C1Anchor</a> to set as the target of the current hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
