# GrapeCity.Documents.Html.GcHtmlRenderer.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Html_GcHtmlRenderer__ctor_" data-uid="GrapeCity.Documents.Html.GcHtmlRenderer.#ctor*">GcHtmlRenderer Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Html_GcHtmlRenderer__ctor_" data-uid="GrapeCity.Documents.Html.GcHtmlRenderer.#ctor*"></a>
<h4 id="GrapeCity_Documents_Html_GcHtmlRenderer__ctor_System_Uri_" data-uid="GrapeCity.Documents.Html.GcHtmlRenderer.#ctor(System.Uri)">GcHtmlRenderer(Uri)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="GrapeCity.Documents.Html.GcHtmlRenderer.html">GcHtmlRenderer</a> from <span class="xref">System.Uri</span>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GcHtmlRenderer(Uri htmlUri)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(htmlUri As Uri)</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><span class="xref">Uri</span></td>
      <td><span class="parametername">htmlUri</span></td>
      <td><p>The URI specifying the source HTML page.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Html_GcHtmlRenderer__ctor_" data-uid="GrapeCity.Documents.Html.GcHtmlRenderer.#ctor*"></a>
<h4 id="GrapeCity_Documents_Html_GcHtmlRenderer__ctor_System_String_" data-uid="GrapeCity.Documents.Html.GcHtmlRenderer.#ctor(System.String)">GcHtmlRenderer(string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="GrapeCity.Documents.Html.GcHtmlRenderer.html">GcHtmlRenderer</a> from HTML string.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GcHtmlRenderer(string html)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(html 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">html</span></td>
      <td><p>The HTML string to render.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
