panelZoomOut()

Zooms out the rootpanel in a module around the center with a specified zoom factor.

Synopsis

int panelZoomOut([string moduleName [,float factor]]);

Parameters

Parameter Description
moduleName Name of the module that opens the panel. Optional parameter
factor Zoom factor. The default factor is 1.5.

Return value

If the operation has been successful, the function returns 1 and in the event of an error, 0.

Error

Wrong or invalid module name

Description

The panel will be zoomed out by the specified factor. By default, the panel will be zoomed out around the center with the factor 1.5.

Example

The following example zooms out the opened panel with the factor 2.

main()
{
  panelZoomOut("Vision_1", 2);
}

Assignment

Management of managers...

Availability

UI

See also

Zooming/panning, Reference tables, panelZoomIn(), moduleOriginalSize()