HtmlToPngRequest Class

Definition

HtmlToPngRequest

public class HtmlToPngRequest
type HtmlToPngRequest = class
Public Class HtmlToPngRequest
Inheritance
HtmlToPngRequest

Constructors

Name Description
HtmlToPngRequest()

Properties

Name Description
ExtraLoadingWait

Optional: Additional number of milliseconds to wait once the web page has finished loading before taking the screenshot. Can be helpful for highly asynchronous websites.

Html

HTML to render to PNG (screenshot)

ScreenshotHeight

Optional: Height of the screenshot in pixels; supply 0 to default to 1280 x 1024, supply -1 to measure the full screen height of the page and attempt to take a screen-height screenshot

ScreenshotWidth

Optional: Width of the screenshot in pixels; supply 0 to default to 1280 x 1024, supply -1 to measure the full screen height of the page and attempt to take a screen-height screenshot

Applies to