DekGenius.com
[ Team LiB ] Previous Section Next Section

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

    [ Team LiB ] Previous Section Next Section