ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Drawing functions, zoom and automatic scrollbars
  • Limitation
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 Zoom property gets or sets the zoom value:
    Example
    Syntax

    Getting the zoom value Hide the details

    <Result> = <Element used>.Zoom
    <Result>: Integer
    Zoom factor in the control. This value corresponds to:
      <Element used>: Control name or window name
      Name of the element to be used:

        Changing the zoom value Hide the details

        <Element used>.Zoom = <New zoom>
        <Element used>: Control name or window name
        Name of the element to be used:
          <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 "Automatic scrollbars and zoom" option, available for Image controls, is not compatible with dStartDrawing. If this option is used on the Image control, dStartDrawing freezes the image in the control. The zoom is also fixed. The standard behavior is restored when dEndDrawing is called.
          You can get the same effect with dPixelColor and dRotation.

          Limitation

          This property applies only to:
          • Image controls with the "Automatic scrollbars and zoom" option.
          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
          Click [Add] to post a comment

          Last update: 06/22/2023

          Send a report | Local help