Recents

HowTo: Using SD Advanced Image Control for Smart DevicesOfficial Content

Images are very common in Smart Devices applications and the users of this apps are used to being able to manipulate them. For example zoom in/out, scroll inside the image, copy the image, etc.

GeneXus have a control that enables this behaviour in pour images in a Smart Device application.

Using the control#

On the Work With for Smart Devices object (WWSD) or Panel for Smart Devices object (SDPanel), select the node which has the image attribute or variable. For example, the Section(General) node inside the Detail node of the WorkWithDevicesProperty (the WWSD applied to the Property transaction, a transaction created to handle the houses and appartments in sale or rent by a real estate), we change the width of the row corresponding to the front image of the property, and then change the Control Type of that attribute: 

SD Advanced Image Control (PrintScreen)

Properties#

Enable Zoom True/False. If this property is true, the user can zoom in/out on the image.
Max Zoom Indicates how much you can enlarge an image. (Percentage).
Max Zoom Relative To Indicates how much you can enlarge an image with reference to the original size of it or the size of the controller. (Percentage)
Enable Copy To Clipboard If this property is true, the user can copy the image to the clipboard (Only for iOS, see image below).

 

SD Advanced Image Control (Propertie Copy)

 






 

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.