Click or drag to resize

ScreenshotOptions Properties

The ScreenshotOptions type exposes the following members.

Properties
 NameDescription
Public propertyBaseUrl Gets and sets base URL when converting HTML string. All assets such as CSS, JavaScript files and images will be loaded relative to that base URL. Default: null. (For example, "https://example.com", "d:\my webs\").
Public propertyChromiumBaseDirectory Gets and sets a custom directory where will be placed portable Chromium browser. Default value depends of platform (win-x64, win-86, linux-x64 or osx-x64)Current directory\runtimes\win-x64\native\.
Public propertyChromiumRevision Gets and sets the Chromium revision. Defaults: Windows - "1115623", Linux - "1115563", MacOs - "1115611".
Public propertyCode exampleClip Specifies clipping region of the page. Default: null.
Public propertyFullPage When true, takes a screenshot of the full scrollable page. Default: true.
Public propertyOmitBackground Hides default white background and allows capturing screenshots with transparency. Default: false.
Public propertyQuality The quality of the image (only for JPEG), between 0-100. Not applicable to PNG images. Default: null.
Public propertyType Specify screenshot type, can be either jpeg or png. Default: Png.
Public propertyCode exampleViewPortOptions Gets or sets browser Width and Height and some other options. Default: 1920x1080.
Top
See Also