# GrapeCity.Documents.Html.PageOptions

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Html_PageOptions" data-uid="GrapeCity.Documents.Html.PageOptions" class="text-break">PageOptions Class
</h1>
  <div class="markdown level0 summary"><p>Represents options for creating a page in the browser and navigating to a specified Uri.</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">PageOptions</span></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_PageOptions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PageOptions</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PageOptions</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_PageOptions__ctor" data-uid="GrapeCity.Documents.Html.PageOptions.#ctor">
          <a class="xref" href="GrapeCity.Documents.Html.PageOptions.-ctor.html#GrapeCity_Documents_Html_PageOptions__ctor">PageOptions()</a>
        </td>
        <td class="markdown level1 summary"></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_PageOptions_DefaultBackgroundColor" data-uid="GrapeCity.Documents.Html.PageOptions.DefaultBackgroundColor">
          <a class="xref" href="GrapeCity.Documents.Html.PageOptions.DefaultBackgroundColor.html#GrapeCity_Documents_Html_PageOptions_DefaultBackgroundColor">DefaultBackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color to be used if the HTML markup doesn't specify one.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_PageOptions_DisableScriptExecution" data-uid="GrapeCity.Documents.Html.PageOptions.DisableScriptExecution">
          <a class="xref" href="GrapeCity.Documents.Html.PageOptions.DisableScriptExecution.html#GrapeCity_Documents_Html_PageOptions_DisableScriptExecution">DisableScriptExecution</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether or not to disable JavaScript on the page.
Defaults to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_PageOptions_IgnoreHTTPSErrors" data-uid="GrapeCity.Documents.Html.PageOptions.IgnoreHTTPSErrors">
          <a class="xref" href="GrapeCity.Documents.Html.PageOptions.IgnoreHTTPSErrors.html#GrapeCity_Documents_Html_PageOptions_IgnoreHTTPSErrors">IgnoreHTTPSErrors</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to ignore HTTPS errors during navigation.
Defaults to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_PageOptions_LoadLazyImages" data-uid="GrapeCity.Documents.Html.PageOptions.LoadLazyImages">
          <a class="xref" href="GrapeCity.Documents.Html.PageOptions.LoadLazyImages.html#GrapeCity_Documents_Html_PageOptions_LoadLazyImages">LoadLazyImages</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to scroll the page down to the end to force pending images to load.
Defaults to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_PageOptions_OfflineMode" data-uid="GrapeCity.Documents.Html.PageOptions.OfflineMode">
          <a class="xref" href="GrapeCity.Documents.Html.PageOptions.OfflineMode.html#GrapeCity_Documents_Html_PageOptions_OfflineMode">OfflineMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to emulate internet disconnection.
Defaults to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_PageOptions_Password" data-uid="GrapeCity.Documents.Html.PageOptions.Password">
          <a class="xref" href="GrapeCity.Documents.Html.PageOptions.Password.html#GrapeCity_Documents_Html_PageOptions_Password">Password</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the password for basic HTTP authentication.</p>
<p>See <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication">https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication</a> for more details.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_PageOptions_TimeoutOptions" data-uid="GrapeCity.Documents.Html.PageOptions.TimeoutOptions">
          <a class="xref" href="GrapeCity.Documents.Html.PageOptions.TimeoutOptions.html#GrapeCity_Documents_Html_PageOptions_TimeoutOptions">TimeoutOptions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the timeout settings for page operations.</p>
<p>If not set, the setting are derived from <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.TimeoutOptions.html#GrapeCity_Documents_Html_GcHtmlBrowser_TimeoutOptions">TimeoutOptions</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_PageOptions_Username" data-uid="GrapeCity.Documents.Html.PageOptions.Username">
          <a class="xref" href="GrapeCity.Documents.Html.PageOptions.Username.html#GrapeCity_Documents_Html_PageOptions_Username">Username</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the username for basic HTTP authentication.</p>
<p>See <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication">https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication</a> for more details.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_PageOptions_WaitUntil" data-uid="GrapeCity.Documents.Html.PageOptions.WaitUntil">
          <a class="xref" href="GrapeCity.Documents.Html.PageOptions.WaitUntil.html#GrapeCity_Documents_Html_PageOptions_WaitUntil">WaitUntil</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the page lifetime events to wait for. Defaults to <a class="xref" href="GrapeCity.Documents.Html.PageLoadStates.html#GrapeCity_Documents_Html_PageLoadStates_Load">Load</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_PageOptions_WindowSize" data-uid="GrapeCity.Documents.Html.PageOptions.WindowSize">
          <a class="xref" href="GrapeCity.Documents.Html.PageOptions.WindowSize.html#GrapeCity_Documents_Html_PageOptions_WindowSize">WindowSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the virtual window size, in pixels.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
