MobileImageViewer
From Xojo Documentation
Class (inherits from MobileUIControl)
This class is supported on Mobile. Use #If...#Endif with the Target... constants to ensure you only use this class where it is supported. |
New in 2020r2
Displays an image.
Enumerations | |
|
Events | ||
|
Methods | ||||||||
|
Properties | ||||||||||||||
|
Example Code
This code is executed from the Opening Event Handler in the default "Screen1" MobileScreen. It sets the DisplayMode and sets the image to one from the project (AppleImage).
ImageViewer1.DisplayMode = MobileImageViewer.DisplayModes.ScaleAspectFit // Set how the image will be displayed
ImageViewer1.Image = AppleImage
ImageViewer1.Image = AppleImage
See Also
Picture class