Update cookies preferences

isReset - method of the CanvasCtxExt object

Detects whether the drawing area contains graphic content from previous drawing.
Boolean isReset()
Return value:
true - The drawing area has been reset (erased) and it is necessary to draw everything again in the onDraw event.
false - The drawing area has not been erased after last drawing so by calling the pEvent.GetCtx(1) method in the onDraw event it is possible to draw into the are with original graphic content and add new content to it.
This method is also functional in Web panels.
JavaScriptSelect and copy to clipboard

var b = pEvent.CtxExt.isReset();

Pm8.03.04: Created
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

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