%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
redraw Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : redraw Method
Causes the component to redraw all the entities right away.

Syntax

JScript 
public function redraw();

Remarks

Because the redraw takes all CPU and if the drawing is big, then the web page might become unresponsive until redraw ends, it is better to post the redraw using setTimeout.

Example: setTimeout(vdrawobj.redraw);//this will post the redraw and the redraw will start when all other processes in the web page are finished.

See Also