AngleSharp by Florian Rappl

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

 RenderDevice

public class RenderDevice
Represents the renderers setting.
namespace AngleSharp.Css { public class RenderDevice { public enum Kind { Screen, Printer, Speech, Other } public IConfiguration Options { get; set; } public int ViewPortWidth { get; set; } public int ViewPortHeight { get; set; } public bool IsInterlaced { get; set; } public bool IsGrid { get; set; } public int DeviceWidth { get; set; } public int DeviceHeight { get; set; } public int Resolution { get; set; } public int Frequency { get; set; } public int ColorBits { get; set; } public int MonochromeBits { get; set; } public Kind DeviceType { get; set; } public RenderDevice(int width, int height) { DeviceWidth = width; DeviceHeight = height; ViewPortWidth = width; ViewPortHeight = height; ColorBits = 32; MonochromeBits = 0; Resolution = 96; DeviceType = Kind.Screen; IsInterlaced = false; IsGrid = false; Frequency = 60; } } }