June 2002
Intermediate to advanced
816 pages
28h 12m
English
HtmlImage
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 : Inherits HtmlControl ' Public Constructors Public Sub New() ' Public Instance Properties Public Property Align As String Public Property Alt As String Public Property Border As Integer Public Property Height As Integer Public Property Src As String Public Property Width As Integer ' Protected Instance Methods Overrides Protected Sub RenderAttributes( ByVal writer As System.Web.UI.HtmlTextWriter) End Class
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
Read now
Unlock full access