Update cookies preferences
Promotic

restore - method of the CanvasCtx object

Description:
Returns the previous state that was saved by the save method.
Syntax:
Object restore()
Note:
This method is also functional in Web panels.
See also:
- CanvasCtx.save (method)
Example:
The ctx variable represents the drawing canvas (CanvasCtx). The setup is done on the "Draw" tab at the beginning of the script of drawing event onDraw as follows:
 
var ctx = pEvent.GetCtx(1);
JavaScriptSelect and copy to clipboard

ctx.restore();

History:
Pm8.02.06: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.