System.Web.UI.HtmlControls.HtmlImage Class

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

See Also: HtmlImage Members

Syntax

[System.Web.UI.ControlBuilder(typeof(System.Web.UI.HtmlControls.HtmlEmptyTagControlBuilder))]
public class HtmlImage : HtmlControl

Remarks

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.

Requirements

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