TCnPictureBox.LoadAsync(String) Method

Loads the image at the specified location, asynchronously.

Namespace: CNClrLib.Control.PictureBox
public
 procedure LoadAsync(Url: String); overload;

Parameters

Url
Type: String

The path for the image to display in the PictureBox.

If the url parameter indicates a local file, the recommended format is a local file path. For example, an image file named myPicture.jpglocated atc:\ would be accessed by passing c:\myPicture.jpg for the url parameter. A full path, such as http://www.xxxxxxx.com/path/images/image.jpg , or a relative path, such as ./images/image.jpg, can be used. If a relative path is used, it will be considered relative to the working directory. A call to the Load method sets the ImageLocation property to the value of url.