Zoom at runtime
- Last UpdatedApr 23, 2025
- 3 minute read
You can zoom in and out on the frame contents at run time. Be sure the frame has the correct pan and zoom property enabled. You cannot zoom in above 5000% or below 100%.
You can edit a symbol's ZoomPercent property to change the visibility of an symbol or element at run time. For example, add the following to a Visibility animation to allow you to dynamically change the symbol according to the zoom percent level.
ZoomPercent => 200
Note: You can write to this property at run time.
When ZoomPercent is set for a symbol, the symbol will be zoomed to the set percent at the center of the viewable area.
When ZoomPercent is set for a symbol’s element, the symbol will be zoomed to the set percent but will center on the element.
The following script is an example of ZoomPercent set for an element:
TextBox1.ZoomPercent = 500
Zoom with mouse gestures
Do the following:
-
Press the "Ctrl" key and scroll up with the mouse wheel to zoom in on the frame contents. The contents will zoom in from the current position of the mouse pointer.
Note: You cannot zoom in on the frame contents if your mouse pointer is outside the frame.
-
Scroll down with the mouse wheel to zoom out on the frame contents.
-
Select the zoom in and zoom out icons from the Pan and Zoom Control Toolbar. You must then left select the contents of the frame to zoom in.

-
Double left mouse select on the frame contents to restore the zoom level to 100%.
-
Use the Zoom Level combobox to select a predefined zoom level.

-
Select the Rubber Band Zoom icon from the Pan and Zoom Control Toolbar to select a specific area to zoom in on.
Zoom with keyboard gestures
Do the following:
-
Press "Ctrl" and "+" keys together to zoom in
-
Press "Ctrl" and "-" keys together to zoom out
Zoom with touch gestures
Do the following:
-
Place two fingers on the screen and expand them to zoom in
-
Place two fingers on the screen and contract them to zoom out
-
A double-tap will restore the zoom level back to 100%
Zoom limitations
The following limitations apply to run time zoom functionality:
-
Zooming for the Windows Common Controls and client controls is only supported within 500%. These controls include:
-
Customized controls: radio button group, checkbox, edit box, combo box, calendar, datetime picker, and listbox
-
Embedded Alarm Client and Trend Client Controls
-
Third party client controls
-
-
Windows Controls can override mouse, keyboard and touch input
-
InTouch will not override custom fonts in Windows Controls
-
In Multi Pens Trend, the cursor readout will not be zoomed while symbol being zoomed.