# C1.C1Preview.ParagraphObjectCollection.AddHyperlink

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink*">AddHyperlink Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink*"></a>
<h4 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_String_System_String_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink(System.String,System.String)">AddHyperlink(string, string)</h4>
<div class="markdown level1 summary"><p>Adds a text hyperlink to the current paragraph content.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParagraphText AddHyperlink(string text, string anchorName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddHyperlink(text As String, anchorName As String) As ParagraphText</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">text</span></td>
      <td><p>The text string to add.</p>
</td>
    </tr>
    <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 anchor which is the target of the hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a></td>
      <td><p>A <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a> object representing the specified text string,
associated with the specified hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_String_System_String__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a>,
initializes it with the specified text,
sets the <a class="xref" href="C1.C1Preview.ParagraphObject.Hyperlink.html#C1_C1Preview_ParagraphObject_Hyperlink">Hyperlink</a> on that object to a
<a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> initialized with <code class="paramref">anchorName</code>,
and adds it to the current collection.</p>
</div>


<a id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink*"></a>
<h4 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_String_System_String_C1_C1Preview_Style_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink(System.String,System.String,C1.C1Preview.Style)">AddHyperlink(string, string, Style)</h4>
<div class="markdown level1 summary"><p>Adds a text hyperlink with a specified style to the current paragraph content.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParagraphText AddHyperlink(string text, string anchorName, Style style)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddHyperlink(text As String, anchorName As String, style As Style) As ParagraphText</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">text</span></td>
      <td><p>The text string to add.</p>
</td>
    </tr>
    <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 anchor which is the target of the hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Style.html">Style</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>A style used to render the string.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a></td>
      <td><p>A <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a> object representing the specified text string,
associated with the specified hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_String_System_String_C1_C1Preview_Style__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a>,
initializes it with the specified text and style,
sets the <a class="xref" href="C1.C1Preview.ParagraphObject.Hyperlink.html#C1_C1Preview_ParagraphObject_Hyperlink">Hyperlink</a> on that object to a
<a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> initialized with <code class="paramref">anchorName</code>,
and adds it to the current collection.</p>
</div>


<a id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink*"></a>
<h4 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_String_C1_C1Preview_C1LinkTarget_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink(System.String,C1.C1Preview.C1LinkTarget)">AddHyperlink(string, C1LinkTarget)</h4>
<div class="markdown level1 summary"><p>Adds a text hyperlink to the current paragraph content.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParagraphText AddHyperlink(string text, C1LinkTarget target)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddHyperlink(text As String, target As C1LinkTarget) As ParagraphText</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">text</span></td>
      <td><p>The text string to add.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a></td>
      <td><span class="parametername">target</span></td>
      <td><p>A <a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a> which is the target of the hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a></td>
      <td><p>A <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a> object representing the specified text string,
associated with the specified hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_String_C1_C1Preview_C1LinkTarget__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a>,
initializes it with the specified text,
sets the <a class="xref" href="C1.C1Preview.ParagraphObject.Hyperlink.html#C1_C1Preview_ParagraphObject_Hyperlink">Hyperlink</a> on that object to a
<a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> initialized with <code class="paramref">target</code>,
and adds it to the current collection.</p>
</div>


<a id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink*"></a>
<h4 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_String_C1_C1Preview_C1LinkTarget_C1_C1Preview_Style_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink(System.String,C1.C1Preview.C1LinkTarget,C1.C1Preview.Style)">AddHyperlink(string, C1LinkTarget, Style)</h4>
<div class="markdown level1 summary"><p>Adds a text hyperlink with a specified style to the current paragraph content.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParagraphText AddHyperlink(string text, C1LinkTarget target, Style style)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddHyperlink(text As String, target As C1LinkTarget, style As Style) As ParagraphText</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">text</span></td>
      <td><p>The text string to add.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a></td>
      <td><span class="parametername">target</span></td>
      <td><p>A <a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a> which is the target of the hyperlink.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.Style.html">Style</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>A style used to render the string.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a></td>
      <td><p>A <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a> object representing the specified text string,
associated with the specified hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_String_C1_C1Preview_C1LinkTarget_C1_C1Preview_Style__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a>,
initializes it with the specified text and style,
sets the <a class="xref" href="C1.C1Preview.ParagraphObject.Hyperlink.html#C1_C1Preview_ParagraphObject_Hyperlink">Hyperlink</a> on that object to a
<a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> initialized with <code class="paramref">target</code>,
and adds it to the current collection.</p>
</div>


<a id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink*"></a>
<h4 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_String_C1_C1Preview_RenderObject_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink(System.String,C1.C1Preview.RenderObject)">AddHyperlink(string, RenderObject)</h4>
<div class="markdown level1 summary"><p>Adds a text hyperlink to the current paragraph content.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParagraphText AddHyperlink(string text, RenderObject renderObject)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddHyperlink(text As String, renderObject As RenderObject) As ParagraphText</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">text</span></td>
      <td><p>The text string to add.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a></td>
      <td><span class="parametername">renderObject</span></td>
      <td><p>A <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a> which is the target of the hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a></td>
      <td><p>A <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a> object representing the specified text string,
associated with the specified hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_String_C1_C1Preview_RenderObject__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a>,
initializes it with the specified text,
sets the <a class="xref" href="C1.C1Preview.ParagraphObject.Hyperlink.html#C1_C1Preview_ParagraphObject_Hyperlink">Hyperlink</a> on that object to a
<a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> initialized with <code class="paramref">renderObject</code>,
and adds it to the current collection.</p>
</div>


<a id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink*"></a>
<h4 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_String_C1_C1Preview_ParagraphObject_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink(System.String,C1.C1Preview.ParagraphObject)">AddHyperlink(string, ParagraphObject)</h4>
<div class="markdown level1 summary"><p>Adds a text hyperlink to the current paragraph content.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParagraphText AddHyperlink(string text, ParagraphObject paragraphObject)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddHyperlink(text As String, paragraphObject As ParagraphObject) As ParagraphText</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">text</span></td>
      <td><p>The text string to add.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.ParagraphObject.html">ParagraphObject</a></td>
      <td><span class="parametername">paragraphObject</span></td>
      <td><p>A <a class="xref" href="C1.C1Preview.ParagraphObject.html">ParagraphObject</a> which is the target of the hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a></td>
      <td><p>A <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a> object representing the specified text string,
associated with the specified hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_String_C1_C1Preview_ParagraphObject__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a <a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a>,
initializes it with the specified text,
sets the <a class="xref" href="C1.C1Preview.ParagraphObject.Hyperlink.html#C1_C1Preview_ParagraphObject_Hyperlink">Hyperlink</a> on that object to a
<a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> initialized with <code class="paramref">paragraphObject</code>,
and adds it to the current collection.</p>
</div>


<a id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink*"></a>
<h4 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_Drawing_Image_System_String_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink(System.Drawing.Image,System.String)">AddHyperlink(Image, string)</h4>
<div class="markdown level1 summary"><p>Adds an image hyperlink to the current paragraph content.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParagraphImage AddHyperlink(Image image, string anchorName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddHyperlink(image As Image, anchorName As String) As ParagraphImage</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.image">Image</a></td>
      <td><span class="parametername">image</span></td>
      <td><p>The image to add.</p>
</td>
    </tr>
    <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 anchor which is the target of the hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a></td>
      <td><p>A <a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a> object representing the specified image,
associated with the specified hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_Drawing_Image_System_String__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a <a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a>,
initializes it with the specified image,
sets the <a class="xref" href="C1.C1Preview.ParagraphObject.Hyperlink.html#C1_C1Preview_ParagraphObject_Hyperlink">Hyperlink</a> on that object to a
<a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> initialized with <code class="paramref">anchorName</code>,
and adds it to the current collection.</p>
</div>


<a id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink*"></a>
<h4 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_Drawing_Image_C1_C1Preview_C1LinkTarget_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink(System.Drawing.Image,C1.C1Preview.C1LinkTarget)">AddHyperlink(Image, C1LinkTarget)</h4>
<div class="markdown level1 summary"><p>Adds an image hyperlink to the current paragraph content.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParagraphImage AddHyperlink(Image image, C1LinkTarget target)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddHyperlink(image As Image, target As C1LinkTarget) As ParagraphImage</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.image">Image</a></td>
      <td><span class="parametername">image</span></td>
      <td><p>The image to add.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a></td>
      <td><span class="parametername">target</span></td>
      <td><p>A <a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a> which is the target of the hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a></td>
      <td><p>A <a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a> object representing the specified image,
associated with the specified hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_Drawing_Image_C1_C1Preview_C1LinkTarget__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a <a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a>,
initializes it with the specified image,
sets the <a class="xref" href="C1.C1Preview.ParagraphObject.Hyperlink.html#C1_C1Preview_ParagraphObject_Hyperlink">Hyperlink</a> on that object to a
<a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> initialized with <code class="paramref">target</code>,
and adds it to the current collection.</p>
</div>


<a id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink*"></a>
<h4 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_Drawing_Image_C1_C1Preview_RenderObject_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink(System.Drawing.Image,C1.C1Preview.RenderObject)">AddHyperlink(Image, RenderObject)</h4>
<div class="markdown level1 summary"><p>Adds an image hyperlink to the current paragraph content.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParagraphImage AddHyperlink(Image image, RenderObject renderObject)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddHyperlink(image As Image, renderObject As RenderObject) As ParagraphImage</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.image">Image</a></td>
      <td><span class="parametername">image</span></td>
      <td><p>The image to add.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a></td>
      <td><span class="parametername">renderObject</span></td>
      <td><p>A <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a> which is the target of the hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a></td>
      <td><p>A <a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a> object representing the specified image,
associated with the specified hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_Drawing_Image_C1_C1Preview_RenderObject__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a <a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a>,
initializes it with the specified image,
sets the <a class="xref" href="C1.C1Preview.ParagraphObject.Hyperlink.html#C1_C1Preview_ParagraphObject_Hyperlink">Hyperlink</a> on that object to a
<a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> initialized with <code class="paramref">renderObject</code>,
and adds it to the current collection.</p>
</div>


<a id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink*"></a>
<h4 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_Drawing_Image_C1_C1Preview_ParagraphObject_" data-uid="C1.C1Preview.ParagraphObjectCollection.AddHyperlink(System.Drawing.Image,C1.C1Preview.ParagraphObject)">AddHyperlink(Image, ParagraphObject)</h4>
<div class="markdown level1 summary"><p>Adds an image hyperlink to the current paragraph content.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParagraphImage AddHyperlink(Image image, ParagraphObject paragraphObject)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddHyperlink(image As Image, paragraphObject As ParagraphObject) As ParagraphImage</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.image">Image</a></td>
      <td><span class="parametername">image</span></td>
      <td><p>The image to add.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.ParagraphObject.html">ParagraphObject</a></td>
      <td><span class="parametername">paragraphObject</span></td>
      <td><p>A <a class="xref" href="C1.C1Preview.ParagraphObject.html">ParagraphObject</a> which is the target of the hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a></td>
      <td><p>A <a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a> object representing the specified image,
associated with the specified hyperlink.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_ParagraphObjectCollection_AddHyperlink_System_Drawing_Image_C1_C1Preview_ParagraphObject__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method creates a <a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a>,
initializes it with the specified image,
sets the <a class="xref" href="C1.C1Preview.ParagraphObject.Hyperlink.html#C1_C1Preview_ParagraphObject_Hyperlink">Hyperlink</a> on that object to a
<a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> initialized with <code class="paramref">paragraphObject</code>,
and adds it to the current collection.</p>
</div>
</div>
