[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.PageOptions

PageOptions Class

Represents options for creating a page in the browser and navigating to a specified Uri.

Inheritance
PageOptions
Namespace: GrapeCity.Documents.Html
Assembly: DS.Documents.Html.dll
Syntax
public class PageOptions
Public Class PageOptions

Constructors

Name Description
PageOptions()

Properties

Name Description
DefaultBackgroundColor

Gets or sets the background color to be used if the HTML markup doesn't specify one.

DisableScriptExecution

Gets or sets a value indicating whether or not to disable JavaScript on the page. Defaults to false.

IgnoreHTTPSErrors

Gets or sets a value indicating whether to ignore HTTPS errors during navigation. Defaults to false.

LoadLazyImages

Gets or sets whether to scroll the page down to the end to force pending images to load. Defaults to false.

OfflineMode

Gets or sets a value indicating whether to emulate internet disconnection. Defaults to false.

Password

Gets or sets the password for basic HTTP authentication.

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication for more details.

TimeoutOptions

Gets or sets the timeout settings for page operations.

If not set, the setting are derived from TimeoutOptions.

Username

Gets or sets the username for basic HTTP authentication.

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication for more details.

WaitUntil

Gets or sets the page lifetime events to wait for. Defaults to Load.

WindowSize

Gets or sets the virtual window size, in pixels.