# GrapeCity.Documents.Html.GcHtmlBrowser

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Html_GcHtmlBrowser" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser" class="text-break">GcHtmlBrowser Class
</h1>
  <div class="markdown level0 summary"><p>Represents a running instance of a headless Chromium-based browser.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">GcHtmlBrowser</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Html.html">GrapeCity.Documents.Html</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Html.dll</h6>
  <h5 id="GrapeCity_Documents_Html_GcHtmlBrowser_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GcHtmlBrowser : IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GcHtmlBrowser
    Implements IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Html_GcHtmlBrowser__ctor_System_String_GrapeCity_Documents_Html_LaunchOptions_" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser.#ctor(System.String,GrapeCity.Documents.Html.LaunchOptions)">
          <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.-ctor.html#GrapeCity_Documents_Html_GcHtmlBrowser__ctor_System_String_GrapeCity_Documents_Html_LaunchOptions_">GcHtmlBrowser(string, LaunchOptions)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.html">GcHtmlBrowser</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Html_GcHtmlBrowser_CurrentPlatform" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser.CurrentPlatform">
          <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.CurrentPlatform.html#GrapeCity_Documents_Html_GcHtmlBrowser_CurrentPlatform">CurrentPlatform</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the current platform for launching the browser.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_GcHtmlBrowser_ErrorLog" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser.ErrorLog">
          <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.ErrorLog.html#GrapeCity_Documents_Html_GcHtmlBrowser_ErrorLog">ErrorLog</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the browser error log as a string.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_GcHtmlBrowser_IsConnected" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser.IsConnected">
          <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.IsConnected.html#GrapeCity_Documents_Html_GcHtmlBrowser_IsConnected">IsConnected</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the browser engine is connected.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_GcHtmlBrowser_LastLogMessage" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser.LastLogMessage">
          <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.LastLogMessage.html#GrapeCity_Documents_Html_GcHtmlBrowser_LastLogMessage">LastLogMessage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the last message in the browser log.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_GcHtmlBrowser_TimeoutOptions" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser.TimeoutOptions">
          <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.TimeoutOptions.html#GrapeCity_Documents_Html_GcHtmlBrowser_TimeoutOptions">TimeoutOptions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the timeout settings for various browser operations.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Html_GcHtmlBrowser_ApplyGcImagingLicenseKey_System_String_" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser.ApplyGcImagingLicenseKey(System.String)">
          <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.ApplyGcImagingLicenseKey.html#GrapeCity_Documents_Html_GcHtmlBrowser_ApplyGcImagingLicenseKey_System_String_">ApplyGcImagingLicenseKey(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies a GcImaging license key to use by the current instance of <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.html">GcHtmlBrowser</a>.</p>
<p>Up to five images can be created without a license.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_GcHtmlBrowser_ApplyGcPdfLicenseKey_System_String_" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser.ApplyGcPdfLicenseKey(System.String)">
          <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.ApplyGcPdfLicenseKey.html#GrapeCity_Documents_Html_GcHtmlBrowser_ApplyGcPdfLicenseKey_System_String_">ApplyGcPdfLicenseKey(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies a GcPdf license key to use by the current instance of <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.html">GcHtmlBrowser</a>.</p>
<p>Up to five PDFs can be created without a license.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_GcHtmlBrowser_ClearErrorLog" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser.ClearErrorLog">
          <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.ClearErrorLog.html#GrapeCity_Documents_Html_GcHtmlBrowser_ClearErrorLog">ClearErrorLog()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears all messages in the error log.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_GcHtmlBrowser_Dispose" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser.Dispose">
          <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.Dispose.html#GrapeCity_Documents_Html_GcHtmlBrowser_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Clean up any resources being used.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_GcHtmlBrowser_NewPage_System_String_GrapeCity_Documents_Html_PageOptions_" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser.NewPage(System.String,GrapeCity.Documents.Html.PageOptions)">
          <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.NewPage.html#GrapeCity_Documents_Html_GcHtmlBrowser_NewPage_System_String_GrapeCity_Documents_Html_PageOptions_">NewPage(string, PageOptions)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new page and assigns an HTML markup to the page.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_GcHtmlBrowser_NewPage_System_Uri_GrapeCity_Documents_Html_PageOptions_" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser.NewPage(System.Uri,GrapeCity.Documents.Html.PageOptions)">
          <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.NewPage.html#GrapeCity_Documents_Html_GcHtmlBrowser_NewPage_System_Uri_GrapeCity_Documents_Html_PageOptions_">NewPage(Uri, PageOptions)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new page and navigates to a specified Uri.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_GcHtmlBrowser_SetGcImagingLicenseKey_System_String_" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser.SetGcImagingLicenseKey(System.String)">
          <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.SetGcImagingLicenseKey.html#GrapeCity_Documents_Html_GcHtmlBrowser_SetGcImagingLicenseKey_System_String_">SetGcImagingLicenseKey(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets a GcImaging license key to use by all instances of <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.html">GcHtmlBrowser</a>.</p>
<p>Up to five images can be created without a license.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_GcHtmlBrowser_SetGcPdfLicenseKey_System_String_" data-uid="GrapeCity.Documents.Html.GcHtmlBrowser.SetGcPdfLicenseKey(System.String)">
          <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.SetGcPdfLicenseKey.html#GrapeCity_Documents_Html_GcHtmlBrowser_SetGcPdfLicenseKey_System_String_">SetGcPdfLicenseKey(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets a GcPdf license key to use by all instances of <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.html">GcHtmlBrowser</a>.</p>
<p>Up to five PDFs can be created without a license.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
