develop wherever and whenever you want...
Docs > ImageView Class Reference

ImageView Class Reference

Summary 
An image view is used to display an image and allows for user interaction via touch methods.

void setImage(image)

Example 
root = new View("ipad-portrait"); 
image = new Image("jasic.png"); 
iv = root.createImageView(400,400); 
iv.setImage(image); 
document.wait(); 


setImage 
Sets the image for the image view. The image must be created using the Image() constructor function. See Image for more details.

void setImage(image)

Parameters 
image - image created using Image() constructor

Return Value 
none

Notes 
The same image can be used for multiple image views.