UserGuide

Web Image View

From Xojo Documentation

The Image View (called Image Well in the Library) provides a way to display a JPEG or PNG image from your project, or link to a picture at an URL. To specify a picture, use the Picture property in the Inspector. To specify a picture on the web use the URL property.

Commonly used events and properties are listed below. Refer to WebImageView in the Language Reference for the complete list.

Events

PictureChanged

Called when the Picture changes.

Properties

Picture

Specifies the picture (JPG or PNG) to display.

ProtectImage

Specifies whether the user is allowed to drag the image.

URL

Specifies a URL of a picture (JPG or PNG) to display.

Usage

Eddie's Electronics Web displaying a customer photo using an Image View

To display a picture that has been added to the project, assign the Picture property:

ImageWell1.Picture = MyPicture

You can also point the Image Well to a picture from a web site by using the URL property:

ImageWell1.URL = "http://www.mydomain.com/mypicture.png"

See Also

WebImageView class; UserGuide:Web UI topic