[]
The abstract base class for PngSettings and JpegSettings classes.
public abstract class ImageSettings
protected ImageSettings()
If set, captures the specified rectangular region only (in pixels).
Note that this property is ignored if FullPage is true.
public RectangleF? Clip { get; set; }
Gets or sets the background color to be used if the HTML page doesn't specify one. Defaults to White color.
public Color DefaultBackgroundColor { get; set; }
Gets or sets a value indicating whether the full HTML page should be captured. Defaults to false.
Note that if this property is true, Clip is ignored.
public bool FullPage { get; set; }
Gets or sets the scale factor. Defaults to 1.0.
public float Scale { get; set; }
Gets or sets the virtual window size, in pixels. Defaults to 800 x 600.
Note that if FullPage is true, this property defines the minimal window size.
public Size WindowSize { get; set; }