AngleSharp by Florian Rappl

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

.NET API 1,181,184 bytes

 HtmlImageElement

Represents the image element.
public string ActualSource { get; }

Gets the actual used image source.

public string AlternativeText { get; set; }

Gets or sets the alternative text.

public string CrossOrigin { get; set; }

Gets or sets the cross-origin attribute.

public int DisplayHeight { get; set; }

Gets or sets the displayed height of the image element.

public int DisplayWidth { get; set; }

Gets or sets the displayed width of the image element.

public bool IsCompleted { get; }

Gets if the image is completely available.

public bool IsMap { get; set; }

Gets or sets if the image element is a map. The attribute must not be specified on an element that does not have an ancestor a element with an href attribute.

public int OriginalHeight { get; }

Gets the height of the image.

public int OriginalWidth { get; }

Gets the width of the image.

public string Sizes { get; set; }

Gets or sets the sizes to responsively.

public string Source { get; set; }

Gets or sets the image source.

public string SourceSet { get; set; }

Gets or sets the image candidates for higher density images.

public Url Url { get; }

Gets the url of the link elements address.

public string UseMap { get; set; }

Gets or sets the usemap attribute, which indicates that the image has an associated image map.

public HtmlImageElement(Document owner, string prefix = null)

Creates a new image element.