TIWImageFile

TIWImageFile

TIWImageFile

The TIWImageFile control can be used to show an image from a file or URL reference.

TIWImageFile = class(TIWCustomImage)

Properties

property ImageFile: TIWFileReference;

Use this property to indicate the source for the image. You can use a file name or a URL.

When you use a file name, please ensure you place the image file under the Content Folder of your application. You can use relative or absolute file paths. If you use a relative file path, ensure that "Content Folder" path + your relative path is a valid path.

When you use a URL, please ensure that the URL is a public ULR. You can use relative or absolute URLs. If you use a relative URL, ensure that the relative URL is accessible from the root of your website.