AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.9.1" />

 RenderDevice

public class RenderDevice
Represents the renderers setting.
public enum Kind

All possible device kinds.

public int ColorBits { get; set; }

Gets or sets the number of color bits of the device, e.g. 32.

public int DeviceHeight { get; }

Gets the height of the device in pixels.

public Kind DeviceType { get; set; }

Gets or sets the type of the device.

public int DeviceWidth { get; }

Gets the width of the device in pixels.

public int Frequency { get; set; }

Gets or sets the update frequency of the device in frames / s.

public bool IsGrid { get; set; }

Gets or sets if the output is not a bitmap but a grid.

public bool IsInterlaced { get; set; }

Gets or sets if the output is interlaced.

public int MonochromeBits { get; set; }

Gets or sets the number of monochrome bits of the device, e.g. 0 if the device is color.

public IConfiguration Options { get; set; }

Gets or sets the options of the viewport.

public int Resolution { get; set; }

Gets or sets the pixel density of the device in dpi.

public int ViewPortHeight { get; set; }

Gets or sets the height of the viewport in pixels.

public int ViewPortWidth { get; set; }

Gets or sets the width of the viewport in pixels.

public RenderDevice(int width, int height)

Creates a new render device with the given device width and height. These values are then also the initial values of the viewport.