Html Image 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)
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2026.2.6.0 (2026.02.06)
C#
[DataContractAttribute]
public class HtmlImage- Inheritance
- Object HtmlImage
Constructors
| HtmlImage | Initializes 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
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |