HTMLCanvasElement public sealed class HTMLCanvasElement : HTMLElement Represents the HTML canvas element. Documentation Code public uint Height { get; set; } Gets or sets the displayed height of the canvas element. public uint Width { get; set; } Gets or sets the displayed width of the canvas element. public RenderingContext GetContext(string contextId) public void SetContext(RenderingContext context) public bool SupportsContext(string contextId) public void ToBlob(Action<object> callback, string type = null) public string ToDataURL(string type = null)