iOSImage.FromFile

From Xojo Documentation

Shared Method

iOSImage.FromFile(file As Xojo.IO.FolderItem) As iOSImage

Creates an image from a file.

Sample Code

Dim imageFile As FolderItem
imageFile = SpecialFolder.Documents.Child("MyImage.png")
Dim image As iOSImage
image = iOSImage.FromFile(imageFile)
ImageView1.Image = image