asp.net.ph

HtmlImage Class

System.Web.UI.HtmlControls Namespace


Allows programmatic access to the HTML <img> element on the server.

HtmlImage Class Members

Collapse   Constructors

Visibility Constructor Parameters
public HtmlImage ( )

Collapse   Properties

Visibility Name Value Type Accessibility
public Align String [ Get , Set ]
public Alt String [ Get , Set ]
public Border Int32 [ Get , Set ]
public Height Int32 [ Get , Set ]
public Src String [ Get , Set ]
public Width Int32 [ Get , Set ]

Collapse   Methods

Visibility Name Parameters Return Type
protected RenderAttributes ( HtmlTextWriter writer ) Void

Remarks

Use this control to display an image on a Web page. The 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 examples illustrating use of this control, see the individual member types of this class. For syntax information, see HtmlImage in ASP.NET Syntax for HTML Controls.

See Also

HtmlControl   HtmlButton Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph