HtmlImage Class

Represents an HTML 'img' tag.

Definition

Namespace: OpenDiscoverSDK.Interfaces.Content
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2026.2.6.0 (2026.02.06)
C#
[DataContractAttribute]
public class HtmlImage
Inheritance
Object    HtmlImage

Constructors

HtmlImageInitializes a new instance of the HtmlImage class

Properties

AlternateText Provides alternate text for an image ("alt" attribute), if the user for some reason cannot view it.
Height Height of the image (in pixels).
LongDescription URL to a detailed description of an image ("longdesc" attribute).
Source URL (web address) of the image ("src" attribute).
SourceSet URL of the image to use in different situations ("srcset" attribute).
Width Width of the image (in pixels).

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also