trackZoomMode()
Complies with the function "Rubber band zoom". After calling this function a cursor "cross" is displayed, which allows to create a window by left-clicking. The panel is scaled in accordance with the specified window size.
Synopsis
int trackZoomMode([string moduleName]);
Parameters
Parameter | Description |
---|---|
moduleName | Name of the module which opens the rootpanel, optional parameter |
Return value
If OK 0, in the event of an error -1.
Errors
Missing or wrong arguments, wrong module name, module is not in zoom mode.
Description
Activates the mode "Rubber band zoom". After calling this function a cursor "cross" is displayed, which allows to create a window by left-clicking. The panel is scaled in accordance with the specified window size. Make sure that the scale style "Zoom" is active - see also setScaleStyle().
Example
Activates the mode "Zooming with the mouse":
main()
{
trackZoomMode();
}
Assignment
Management of managers
Availability
UI