moduleOriginalSize()

Resizes the panel to its original size.

Synopsis

int moduleOriginalSize([string moduleName]);

Parameters

Parameter Description
moduleName Name of the module that opens the panel. Optional parameter

Return value

In the event of an error, the function returns -1 and otherwise, 0.

Error

Wrong or invalid module name.

Description

Resizes the panel to its original size.

Example

The following example resizes to the original size after a zoom process.

main()
{
  moduleOriginalSize();
}

Assignment

Management of managers

Availability

UI

See also

Zooming/panning, panelZoomOut(), panelZoomIn()