Page tree
Skip to end of metadata
Go to start of metadata

Description

Control to display an image.

Can be statically defined.

The Image control lets you import JPEG, PNG, GIF, files at runtime.

Syntax

<image

src=path

alt=string

height = string

width = string

top= string

left= string

>

</image>

Attributes

 

NameValueDescriptionRequired
srcpathSpecifies the path of an image.Yes
altstringSpecifies an alternate text for an image.No
widthdimensionSets the control's width in pixels.No
heigthdimensionSets the control's height in pixels.No
topdimensionSets the control's top in pixels.No
leftdimensionSets the control's left in pixels.No

 

Example:

 

<image 
src="./img/someimage.png"
    alt="alternate text" 
    width="400px" 
    height="400px"
top="50px" 
   left="20px" />

 

Output: