Help / Automatic Application Features
  • Overview
  • Programming
  • Programming the zoom
  • Disabling the zoom
  • Canceling the zoom
  • Modifying the caption of the option used to cancel the zoom (through programming)
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
To simplify the reading of windows, the end user can zoom the content of a window with the mouse.
Zoom of a window
To zoom in or out in a window, the user must use the Ctrl key and the mouse wheel.
To reset the zoom level, simply select "Cancel zoom" in the context menu of the window (or press Ctrl + 0).
Remark: Scrollbars may appear during the zoom if necessary.

Programming the zoom

To program the zoom that will be applied to the window, use Zoom on the window.
For example:
// Zoom in 150%
WIN_Customer..Zoom = 150
If the zoom is set through programming, the context menu of the window allows you to cancel the zoom.

Disabling the zoom

To disable the zoom in a window, use the AAFDisable function with the aafZoom constant.

Canceling the zoom

To cancel the zoom on a window (and restore the initial zoom level), simply use AAFExecute with the aafZoom constant.

Modifying the caption of the option used to cancel the zoom (through programming)

To cancel the zoom, the end user can open the context menu of the window and select "Cancel zoom".
To modify the text of this option, simply use AAFChangeCaption with the aafZoom constant.
Minimum version required
  • Version 21
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help