Reload Method

Measurement Studio User Interface

Reload Method

Syntax

CWImage.Reload

Purpose

Loads the image from the given URL.

Remarks

This method is valid only when the SaveLink property is set to True and a URL is specified with the URL property.

This property does not apply to CWImage objects representing captions.

Example

'Set the URL to circles.bmp
CWButton1.OffImage.CWImage.URL = "c:\windows\circles.bmp"

'The Off Image must be loaded from the file each
'time the control is loaded.
CWButton1.OffImage.CWImage.SaveLink = True

'Reload the image from the new URL
CWButton1.OffImage.CWImage.Reload

See Also

URL

SaveLink