AngleSharp by AngleSharp

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

 IRenderingContext

public interface IRenderingContext
Represents the typedef for any rendering context. This is shown is the base interface for all rendering contexts.
string ContextId { get; }

Gets the ID of the rendering context.

Gets the bound host of the context.

bool IsFixed { get; }

Gets if the context's bitmap mode is fixed.

byte[] ToImage(string type)

Converts the current data to the given image format.