# GrapeCity.Documents.Html

## Content

<div class="doc-site-dotnet-api-container">

  <h1 id="GrapeCity_Documents_Html" data-uid="GrapeCity.Documents.Html" class="text-break">GrapeCity.Documents.Html Namespace
</h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="markdown level0 remarks"></div>
    <h3 id="classes">
Classes
</h3>
      <h4><a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.html">BrowserFetcher</a></h4>
      <section><p>Downloads and manages a version of a Chromium-based browser.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.html">GcHtmlBrowser</a></h4>
      <section><p>Represents a running instance of a headless Chromium-based browser.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.GcHtmlRenderer.html">GcHtmlRenderer</a></h4>
      <section><p>Provides methods for converting HTML to PDF and images.</p>
<p>This class is deprecated as of GcHtml v6.0.0.
While old code that uses this and related classes will continue to work,
it is recommended to switch to using the new <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.html">GcHtmlBrowser</a> class instead.
For information on how to convert existing code please see documentation at
https://www.grapecity.com/documents-api-pdf/docs/online/render_html_to_pdf.html
and
https://www.grapecity.com/documents-api-imaging/docs/online/render_html_to_image.html.
</p>
Note that the 3 platform-specific packages (GrapeCity.Documents.Html.Windows.X64,
GrapeCity.Documents.Html.Linux.X64 and GrapeCity.Documents.Html.Mac.X64) are no longer needed
and should be removed from your projects even if you do not convert your code to using
<a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.html">GcHtmlBrowser</a>.
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.HtmlException.html">HtmlException</a></h4>
      <section><p>Identifies exceptions thrown by <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.html">GcHtmlBrowser</a>.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.HtmlPage.html">HtmlPage</a></h4>
      <section><p>Represents a page in a <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.html">GcHtmlBrowser</a> instance.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.ImageOptions.html">ImageOptions</a></h4>
      <section><p>The base class for <a class="xref" href="GrapeCity.Documents.Html.PngOptions.html">PngOptions</a>, <a class="xref" href="GrapeCity.Documents.Html.JpegOptions.html">JpegOptions</a>, and <a class="xref" href="GrapeCity.Documents.Html.WebpOptions.html">WebpOptions</a>.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.ImageSettings.html">ImageSettings</a></h4>
      <section><p>The abstract base class for <a class="xref" href="GrapeCity.Documents.Html.PngSettings.html">PngSettings</a> and <a class="xref" href="GrapeCity.Documents.Html.JpegSettings.html">JpegSettings</a> classes.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.JpegOptions.html">JpegOptions</a></h4>
      <section><p>Represents output image settings for saving HTML as JPEG.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.JpegSettings.html">JpegSettings</a></h4>
      <section><p>Represents output image settings for rendering HTML to JPEG.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.LaunchOptions.html">LaunchOptions</a></h4>
      <section><p>Represents options for launching the browser.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.Margins.html">Margins</a></h4>
      <section><p>Represents page margins.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.PageOptions.html">PageOptions</a></h4>
      <section><p>Represents options for creating a page in the browser and navigating to a specified Uri.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.PdfMargins.html">PdfMargins</a></h4>
      <section><p>Represents page margins in <a class="xref" href="GrapeCity.Documents.Html.PdfOptions.html">PdfOptions</a>.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.PdfOptions.html">PdfOptions</a></h4>
      <section><p>Represents output settings for rendering HTML to PDF.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.PdfSettings.html">PdfSettings</a></h4>
      <section><p>Represents output settings for rendering HTML to PDF.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.PngOptions.html">PngOptions</a></h4>
      <section><p>Represents output image settings for saving HTML as PNG.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.PngSettings.html">PngSettings</a></h4>
      <section><p>Represents output image settings for rendering HTML to PNG.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.TimeoutOptions.html">TimeoutOptions</a></h4>
      <section><p>Specifies the maximum duration for various browser operations.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.WebpOptions.html">WebpOptions</a></h4>
      <section><p>Represents output image settings for saving HTML as WEBP.</p>
</section>
    <h3 id="enums">
Enums
</h3>
      <h4><a class="xref" href="GrapeCity.Documents.Html.PageLoadStates.html">PageLoadStates</a></h4>
      <section><p>Page lifetime events to wait for.</p>
</section>
      <h4><a class="xref" href="GrapeCity.Documents.Html.Platform.html">Platform</a></h4>
      <section><p>A browser platform used by <a class="xref" href="GrapeCity.Documents.Html.BrowserFetcher.html">BrowserFetcher</a> and <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.html">GcHtmlBrowser</a>.</p>
</section>
    <h3 id="delegates">
Delegates
</h3>
      <h4><a class="xref" href="GrapeCity.Documents.Html.WebSocketFactory.html">WebSocketFactory</a></h4>
      <section><p>Delegate for creation of <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.net.websockets.websocket">WebSocket</a> instances.</p>
</section>


</div>
