Click or drag to resize

HtmlImage Class

Represents an HTML 'img' tag.
Inheritance Hierarchy
SystemObject
  OpenDiscoverSDK.Interfaces.ContentHtmlImage

Namespace: OpenDiscoverSDK.Interfaces.Content
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2025.4.6.0 (2025.4.6)
Syntax
C#
[DataContractAttribute]
public class HtmlImage

The HtmlImage type exposes the following members.

Constructors
 NameDescription
Public methodHtmlImageInitializes a new instance of the HtmlImage class
Top
Properties
 NameDescription
Public propertyAlternateText Provides alternate text for an image ("alt" attribute), if the user for some reason cannot view it.
Public propertyHeight Height of the image (in pixels).
Public propertyLongDescription URL to a detailed description of an image ("longdesc" attribute).
Public propertySource URL (web address) of the image ("src" attribute).
Public propertySourceSet URL of the image to use in different situations ("srcset" attribute).
Public propertyWidth Width of the image (in pixels).
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also