Promotic
WikipediaLinkedInYoutubeTwitterFacebook

isReset - method of object CanvasCtxExt

Description:
Detect whether the drawing area contains graphic content from previous drawing.
Syntax:
isReset As Boolean
Calling:
b = pEvent.CtxExt.isReset();
Return Values:
true - The drawing area has been reset (erased) and it is necessary to draw everything again by 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.
Note:
The method can also be called in the graphic item events for Web Panels.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice