ModuleSetViewRatio

 

Adust the view ratio of the opened module.

 

void @ModuleSetViewRatio(string modulename, int percent);

 

Parameters

string modulename : The graphic module name

int percent             : The percentage value of the size want to see the module screen (when it is 100, it adjust the screen to the original size)

 

Return

None

 

Examples)

percent = 200;

@ModuleSetViewRatio("test.modx", percent);

 

Description : If the percentage is set 100, it adjusts the screen to the original size, and if it is set 50, it adjusts the screen to 50% of the original size. If it is set to 200, it will be adjust the screen to 200% of the original size.

 

Version Information

Supported Version: 10.3.25 or higher

 

References

@MdiSetScrollPos()

@MdiSetViewRatio()

@MdiGetViewMode()

@MdiSetViewMode()

@ModuleGetViewMode()

@ModuleSetViewMode()

@ModuleGetViewModeActive()

@ModuleSetViewModeActive()

@ModuleSetViewRatio()

@ModuleSetViewRatioActive()

@ModuleSetScrollPos()

@ModuleSetScrollPosActive()

@ModuleSetWindowState()

@MModuleSetWindowStateActive()