AngleSharp by AngleSharp

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

.NET API 1,261,568 bytes

 HtmlFrameOwnerElement

Represents the base class for frame owned elements.
using AngleSharp.Extensions; using AngleSharp.Html; namespace AngleSharp.Dom.Html { internal abstract class HtmlFrameOwnerElement : HtmlElement { public bool CanContainRangeEndpoint { get; set; } public int DisplayWidth { get { return this.GetOwnAttribute(AttributeNames.Width).ToInteger(0); } set { this.SetOwnAttribute(AttributeNames.Width, value.ToString(), false); } } public int DisplayHeight { get { return this.GetOwnAttribute(AttributeNames.Height).ToInteger(0); } set { this.SetOwnAttribute(AttributeNames.Height, value.ToString(), false); } } public int MarginWidth { get { return this.GetOwnAttribute(AttributeNames.MarginWidth).ToInteger(0); } set { this.SetOwnAttribute(AttributeNames.MarginWidth, value.ToString(), false); } } public int MarginHeight { get { return this.GetOwnAttribute(AttributeNames.MarginHeight).ToInteger(0); } set { this.SetOwnAttribute(AttributeNames.MarginHeight, value.ToString(), false); } } public HtmlFrameOwnerElement(Document owner, string name, string prefix, NodeFlags flags = NodeFlags.None) : base(owner, name, prefix, flags) { } } }