MdiGetViewMode returns the view mode of the currently focused MDI module window.
The view mode is initialized to the operation mode whenever the module is newly opened.
int @MdiGetViewMode();
Return Value
0 : Operation mode
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 or higher
References