ModuleSetViewMode sets the view mode of the currently active MDI module window.
The view mode is initialized to the operation mode whenever the module is newly opened.
void @MdiSetViewMode(int mode);
Parameters
int mode : The view mode ( 0 : Operation mode , 1 : Zoom-in mode, 2: Zoom-out mode, 3: Move mode, 4: Digital input selection mode)
Return Value
None
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)
Example
@MdiSetViewMode(0);
Description : Set the view mode of the currently active MDI module window to operation mode.
Version Information
Supported Version: 10.3.25 or higher
References