This documentation is archived and is not being maintained.
HtmlImage Constructor ()
.NET Framework (current version)
Initializes a new instance of the HtmlImage class.
Namespace:
System.Web.UI.HtmlControlsAssembly:
System.Web (in System.Web.dll)
Use this constructor to create and initialize a new instance of the HtmlImage class.
The following table shows the initial property value for an instance of HtmlImage.
Property | Initial Value |
|---|
TagName | The "img" literal string. |
The following code example illustrates how to create and initialize a new instance of the HtmlImage control.
No code example is currently available or this language may not be supported.
.NET Framework
Available since 1.1
Return to top