System.Web.UI.HtmlControls.HtmlImage Class

Provides programmatic access for the HTML <img> element on the server.

See Also: HtmlImage Members


public class HtmlImage : HtmlControl


Use this control to display an image on a Web page. The System.Web.UI.HtmlControls.HtmlImage control can be programmatically manipulated to change the image displayed, the image size, and the alignment of the image relative to other page elements.

For a list of initial property values for an instance of System.Web.UI.HtmlControls.HtmlImage, see the HtmlImage.#ctor constructor.


Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0,