void @ModuleSetSize(string filename, int width, int height);
Changes the window size of the specified module. (Typically used with POPUP modules; for MDI modules, it can be used in the normal state, not in maximized or minimized states.)
Parameters
string filename : The name of the graphic module
int width : The size to be changed (width)
int height : The size to be changed (height)
Return Value
None
Example
@ModuleSetSize("Test.modx", 300, 300);
Description : Changes the size of the Test.modx module to width: 300 and height: 300.
Version Information
Supported Version: 10.3.4 or Higher
Related Helps