Web Image Viewer

From Xojo Documentation

The Image Viewer 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 properties are listed below. Refer to WebImageViewer in the Language Reference for the complete list.


Picture - Specifies the picture (JPG or PNG) to display.

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


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

ImageViewer1.Picture = MyPicture

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

ImageViewer1.URL = ""

See Also

WebImageViewer class