AngleSharp by Florian Rappl

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

.NET API 681,472 bytes

 HTMLObjectElement

Represents the HTML object element.
namespace AngleSharp.DOM.Html { [DOM("HTMLObjectElement")] public sealed class HTMLObjectElement : HTMLFormControlElement, IScopeElement { private Document _contentDocument; private object _contentWindow; private uint _objWidth; private uint _objHeight; [DOM("data")] public string Data { get { return GetAttribute("data"); } set { SetAttribute("data", value); } } [DOM("type")] public string Type { get { return GetAttribute("type"); } set { SetAttribute("type", value); } } [DOM("typeMustMatch")] public bool TypeMustMatch { get { return GetAttribute("typemustmatch") != null; } set { SetAttribute("typemustmatch", value ? string.Empty : null); } } [DOM("useMap")] public string UseMap { get { return GetAttribute("usemap"); } set { SetAttribute("usemap", value); } } [DOM("width")] public uint Width { get { return Element.ToInteger(GetAttribute("width"), _objWidth); } set { SetAttribute("width", value.ToString()); } } [DOM("height")] public uint Height { get { return Element.ToInteger(GetAttribute("height"), _objHeight); } set { SetAttribute("height", value.ToString()); } } [DOM("contentDocument")] public Document ContentDocument { get { return _contentDocument; } } [DOM("contentWindow")] public object ContentWindow { get { return _contentWindow; } } protected internal override bool IsSpecial => true; internal HTMLObjectElement() { _name = "object"; _objHeight = 0; _objWidth = 0; } } }