PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The WithZoom property is used to specify and to determine whether the user can zoom in and out:
  • in an HTML Display control in an Android, iPhone or iPad application.
  • Versions 26 and later
    in a map displayed in a Map control in an Android, iPhone or iPad application.
    New in version 26
    in a map displayed in a Map control in an Android, iPhone or iPad application.
    in a map displayed in a Map control in an Android, iPhone or iPad application.
Example
// Disable zoom on the HTM_NavigationPCS control
HTM_NavigationPCS.WithZoom = False
Versions 26 and later
AndroidiPhone/iPad
// Disable zoom on the MAP_MyMap control
MAP_MyMap.WithZoom = False
New in version 26
AndroidiPhone/iPad
// Disable zoom on the MAP_MyMap control
MAP_MyMap.WithZoom = False
AndroidiPhone/iPad
// Disable zoom on the MAP_MyMap control
MAP_MyMap.WithZoom = False
Syntax

Determining whether an HTML or Map control allows zooming Hide the details

<Result> = <Control used>.WithZoom
<Result>: Boolean
  • True if the control allows zooming,
  • False otherwise.
<Control used>: Control name
Name of the control to be used:
  • HTML Display control.
  • Versions 26 and later
    Map control.
    New in version 26
    Map control.
    Map control.

Enabling or disabling zoom in an HTML or Map control Hide the details

<Control used>.WithZoom = <Zoom>
<Control used>: Control name
Name of the control to be used:
  • HTML Display control.
  • Versions 26 and later
    Map control.
    New in version 26
    Map control.
    Map control.
<Zoom>: Boolean
  • True if the control should allow zooming,
  • False otherwise.
Remarks
  • If zooming is allowed, the user will be able to zoom in and out with pinch gestures.
  • Android If zooming is allowed, two zoom buttons will also be available.
  • iPhone/iPad In an iPhone/iPad application, you must refresh (or change) the page displayed by the HTML Display control to enable or disable the zoom.
  • The property has no effect in simulator mode.
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment