iOSImage.FromFile

From Xojo Documentation

Shared Method

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

Creates an image from a file.

Sample Code

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