Xojo Documentation
Xojo Documentation
Doc Center
Home
Download Xojo
Recent changes
MediaWiki Info
Getting Started
Get Started with Xojo
QuickStarts
Tutorials
Books
User Guide
Welcome!
Fundamentals
User Interface
Framework
Technical Information
Language Reference
Programming Language Commands
Framework
iOS Framework
Resources
System Requirements
Release Notes
Deprecations
Videos
Example Projects
FAQ
International
Feedback
About
Usage
Copyrights and Trademarks
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
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
Category
:
Shared Methods