ModuleGetViewModeActive returns the view mode of the currently focused module window.
int @ModuleGetViewModeActive();
Return Value
0 : Operation mode (default)
1 : Zoom-in mode
2 : Zoom-out mode
3 : Move mode
4 : Digital input selection mode
Remark) Ctrl + mouse wheel up/down will zoom the current module (10.3.25 and later versions)
When the mouse wheel is clicked, the operation mode and move mode are toggled. (10.3.25 and later versions)
Version Information
Supported Version: 10.3.25
Examples
i = @ModuleGetViewModeActive();
Description : Return the view mode of the currently focused module window
References