[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.GcHtmlBrowser

GcHtmlBrowser Class

Represents a running instance of a headless Chromium-based browser.

Inheritance
GcHtmlBrowser
Implements
Namespace: GrapeCity.Documents.Html
Assembly: DS.Documents.Html.dll
Syntax
public class GcHtmlBrowser : IDisposable
Public Class GcHtmlBrowser
    Implements IDisposable

Constructors

Name Description
GcHtmlBrowser(string, LaunchOptions)

Initializes a new instance of the GcHtmlBrowser class.

Properties

Name Description
CurrentPlatform

Gets the current platform for launching the browser.

ErrorLog

Gets the browser error log as a string.

IsConnected

Gets a value indicating whether the browser engine is connected.

LastLogMessage

Gets or sets the last message in the browser log.

TimeoutOptions

Gets the timeout settings for various browser operations.

Methods

Name Description
ApplyGcImagingLicenseKey(string)

Applies a GcImaging license key to use by the current instance of GcHtmlBrowser.

Up to five images can be created without a license.

ApplyGcPdfLicenseKey(string)

Applies a GcPdf license key to use by the current instance of GcHtmlBrowser.

Up to five PDFs can be created without a license.

ClearErrorLog()

Clears all messages in the error log.

Dispose()

Clean up any resources being used.

NewPage(string, PageOptions)

Creates a new page and assigns an HTML markup to the page.

NewPage(Uri, PageOptions)

Creates a new page and navigates to a specified Uri.

SetGcImagingLicenseKey(string)

Sets a GcImaging license key to use by all instances of GcHtmlBrowser.

Up to five images can be created without a license.

SetGcPdfLicenseKey(string)

Sets a GcPdf license key to use by all instances of GcHtmlBrowser.

Up to five PDFs can be created without a license.