iOSImage.FromFile

From Xojo Documentation

Revision as of 14:23, 19 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Shared Method

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

Supported on Mobile (iOS).

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