PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Drawing functions, zoom and automatic scrollbars
  • Limit
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..Zoom allows you to find out and modify the zoom value used:
Versions 17 and later
  • in an Image control. The management of automatic scrollbars and zoom must be enabled in this Image control ("Automatic scrollbars and zoom" in the "Details" tab of the description window of the control).
New in version 17
  • in an Image control. The management of automatic scrollbars and zoom must be enabled in this Image control ("Automatic scrollbars and zoom" in the "Details" tab of the description window of the control).
  • in an Image control. The management of automatic scrollbars and zoom must be enabled in this Image control ("Automatic scrollbars and zoom" in the "Details" tab of the description window of the control).
  • in an Image control. The management of automatic scrollbars and zoom must be enabled in this Image control ("Automatic scrollbars and zoom" in the "Details" tab of the description window of the control).
Versions 20 and later
Windows This property is now available for the Map control in the WINDEV applications for Windows.
Windows This property is now available for the Map control in the WEBDEV sites in Windows and Linux.
New in version 20
Windows This property is now available for the Map control in the WINDEV applications for Windows.
Windows This property is now available for the Map control in the WEBDEV sites in Windows and Linux.
Windows This property is now available for the Map control in the WINDEV applications for Windows.
Windows This property is now available for the Map control in the WEBDEV sites in Windows and Linux.
Example
Syntax

Finding out the zoom value Hide the details

<Result> = <Element name>..Zoom
<Result>: Integer
Value of zoom currently performed in the element. This value corresponds to a percentage:
  • in an Image control,
This value corresponds to a percentage:
  • in an Image control,
This value corresponds to:
    <Element name>: Character string (with or without quotes)
    Versions 17 and later
    Name of element to use:
    • Name of Image control.
    New in version 17
    Name of element to use:
    • Name of Image control.
    Name of element to use:
    • Name of Image control.
    Name of control to use:
    • Name of Image control.
    Name of element to use:

      Modifying the zoom value Hide the details

      <Element name>..Zoom = <New zoom>
      <Element name>: Character string (with or without quotes)
      Versions 17 and later
      Name of element to use:
      • Name of Image control.
      New in version 17
      Name of element to use:
      • Name of Image control.
      Name of element to use:
      • Name of Image control.
      Name of element to use:
      • Name of Image control.
      Name of element to use:
        <New zoom>: Integer or Integer constant
        New zoom value that will be applied to the element.
        Remarks
        Reports and QueriesWindows

        Drawing functions, zoom and automatic scrollbars

        The option "Automatic scrollbars and zoom", available on a Image control, is incompatible with dStartDrawing. If this option is used on the Image control, the display performed by dStartDrawing is fixed in the control. The zoom is also fixed. The standard behavior is restored during the call to dEndDrawing.
        The same effect can be noticed with dPixelColor and dRotation.

        Limit

        This property only applies to:
        • to Image controls with the option "Automatic scrollbars and zoom".
        Related Examples:
        The Image control (display a PDF or a TIFF) Unit examples (WINDEV): The Image control (display a PDF or a TIFF)
        [ + ] Displaying a PDF or TIFF document in the Image control found in a window.
        The Map control Unit examples (WEBDEV): The Map control
        [ + ] This example explains how to use the Map control of WEBDEV.
        It can be used to display a map that includes markers as well as an itinerary.
        The Map control Unit examples (WINDEV): The Map control
        [ + ] Using the Map control of WINDEV.
        It is used to display a map that includes markers as well as an itinerary.
        Minimum version required
        • Version 12
        This page is also available for…
        Comments
        Video Zoom
        https://youtu.be/MVrzB-HW_3o

        https://windevdesenvolvimento.blogspot.com/2019/05/dicas-2125-windev-webdev-mobile-tabela.html

        // btn_AUMENTAR_zoom
        TABLE_PEDIDO_JUNTA..Zoom+=10
        // btn_DIMINUIR_zoom
        TABLE_PEDIDO_JUNTA..Zoom-=10
        amarildo
        27 May 2019
        Example
        MapLicenseGgl("AIzaSyDbSVKYPwB1a-_vPbDzAr6LgAfIj4iW2hc")

        PositionWx is geoPosition
        PositionWx.Latitude = -25.4401779
        PositionWx.Longitude = -49.2118695

        MarkerWx is Marker
        MarkerWx.Description = "WX INFORMATICA"
        MarkerWx.Name = "WX INFORMATICA"
        MarkerWx.Position = PositionWx

        MapAddMarker(GoogleMaps,MarkerWx)

        GoogleMaps.DisplayPosition(PositionWx)
        GoogleMaps..Zoom = 18
        BOLLER
        13 Jul. 2018