Name | Description | |
---|---|---|
Browser | Gets the owner GcHtmlBrowser. | |
TimeoutOptions | Gets the timeout settings for various browser operations. |
The following tables list the members exposed by HtmlPage.
Name | Description | |
---|---|---|
Browser | Gets the owner GcHtmlBrowser. | |
TimeoutOptions | Gets the timeout settings for various browser operations. |
Name | Description | |
---|---|---|
Dispose | Clean up any resources being used. | |
EvaluateExpression<T> | Executes a script in the browser context. | |
GetContent | Gets the full HTML content of the page, including the doctype. | |
GetContentSize | Gets the size of page scrollable area, in pixels. | |
GetTitle | Gets the page title. | |
GetWindowSize | Gets the virtual window size, in pixels. | |
Reload | Reloads the page. | |
Render | Renders the current page to an existing GrapeCity.Documents.Imaging.GcBitmap. | |
RenderAndCrop | Renders the current page to an existing GrapeCity.Documents.Imaging.GcBitmap and crops. | |
ResetDefaultBackgroundColor | Clears an override of the default background color. | |
SaveAsJpeg | Overloaded. Saves the current web page as a JPEG image file. | |
SaveAsPdf | Overloaded. Creates a PDF file from the current page. | |
SaveAsPng | Overloaded. Saves the current page as a PNG image file. | |
SaveAsWebp | Overloaded. Saves the current page as a WEBP image file. | |
SetContent | Sets the HTML markup to the page. | |
SetDefaultBackgroundColor | Sets the background color to be used if the HTML markup doesn't specify one. | |
SetWindowSize | Sets the virtual window size, in pixels. | |
ToJpegBytes | Renders the current page to an image in JPEG format and returns it as a byte array. | |
ToPdfBytes | Renders the current page to a PDF document and returns it as a byte array. | |
ToPngBytes | Renders the current page to an image in PNG format and returns it as a byte array. | |
ToWebpBytes | Renders the current page to an image in WEBP format and returns it as a byte array. | |
WaitForNetworkIdle | Waits for network idle during the specified amount of time. |