HtmlImage

HtmlImagedisposable

System.Web.UI.HtmlControls (system.web.dll)class

This class represents the HTML <img> tag, which is used to display a picture file specified by a URL. You can set various properties for this control, including the image file (Src), and the alignment and size of the picture. The Alt property specifies the alternate text, which will appear in place of the image if it cannot be downloaded, and may be displayed as a tooltip over a successfully downloaded image in uplevel browsers.

public class HtmlImage : HtmlControl { // Public Constructors    public HtmlImage( ); // Public Instance Properties    public string Align{set; get; }    public string Alt{set; get; }    public int Border{set; get; }    public int Height{set; get; }    public string Src{set; get; }    public int Width{set; get; } // Protected Instance Methods    protected override void RenderAttributes(System.Web.UI.HtmlTextWriter writer);  // overrides HtmlControl }

Hierarchy

System.Object System.Web.UI.Control(System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor) HtmlControl(System.Web.UI.IAttributeAccessor) HtmlImage



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net