ClassHtmlImage
Test class for an HtmlImage element <img src="..." />
Definition
Namespace:ArtOfTest.WebAii.Controls.HtmlControls
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class HtmlImage : HtmlControl
Inheritance: objectControlHtmlControlHtmlImage
Inherited Members
Constructors
HtmlImage(Element)
Create a new control.
Declaration
public HtmlImage(Element element)
Parameters
element
The base element.
Properties
Align
A string that specifies the alignment of the image relative to other Web page elements.
Alt
A string that contains the alternative caption for the browser to use when the image is unavailable.
Border
Specifies the width of the border around an image.
Height
The height of the image in pixels.
Src
A string that contains the URL to the image to display.
Methods
AssignElement(Element)
Assign element and initialize this control.
Declaration
public override void AssignElement(Element e)
Parameters
e
The base element.
Overrides
IsLoaded()
Checks to see if the image has finished loading on the page or not.
Declaration
public bool IsLoaded()
Returns
Returns true/false indicating if the image successfully loaded or not on the page.