Interface IHtmlObjectElement
- Namespace
- AngleSharp.Html.Dom
- Assembly
- AngleSharp.dll
Represents the object HTML element.
[DomName("HTMLObjectElement")]
public interface IHtmlObjectElement : IHtmlElement, IElement, INode, IEventTarget, IMarkupFormattable, IParentNode, IChildNode, INonDocumentTypeChildNode, IGlobalEventHandlers, IValidation, ILoadableElement
- Inherited Members
- Extension Methods
Properties
ContentDocument
Gets the active document of the object element's nested browsing context, if it has one; otherwise returns null.
[DomName("contentDocument")]
IDocument? ContentDocument { get; }
Property Value
ContentWindow
Gets the object element's nested browsing context, if it has one; otherwise returns null.
[DomName("contentWindow")]
IWindow? ContentWindow { get; }
Property Value
DisplayHeight
Gets or sets the display height of the object element.
[DomName("height")]
int DisplayHeight { get; set; }
Property Value
DisplayWidth
Gets or sets the display width of the object element.
[DomName("width")]
int DisplayWidth { get; set; }
Property Value
Form
Gets the associated HTML form element.
[DomName("form")]
IHtmlFormElement? Form { get; }
Property Value
Name
Gets or sets the name of the object.
[DomName("name")]
string? Name { get; set; }
Property Value
Source
Gets or sets the address of the resource.
[DomName("data")]
string? Source { get; set; }
Property Value
Type
Gets or sets the type of the resource. If present, the attribute must be a valid MIME type.
[DomName("type")]
string? Type { get; set; }
Property Value
TypeMustMatch
Gets or sets an attribute whose presence indicates that the resource specified by the data attribute is only to be used if the value of the type attribute and the Content-Type of the aforementioned resource match.
[DomName("typeMustMatch")]
bool TypeMustMatch { get; set; }
Property Value
UseMap
Gets or sets the associated image map of the object if the object element represents an image.
[DomName("useMap")]
string? UseMap { get; set; }