%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
redo Method
See Also  Example
vdWebLibrary Namespace > ScriptCommands Class : redo Method
Redone the last item stored in the redo list and the last command in script buffer.If a start group item is last then redones all items of the group in redo history.

Syntax

JScript 
public function redo();

Example

C#Copy Code
vdcanvas.UndoHistory().redo(); //make a single redo.Call it multi times until everything redone. 
setTimeout(vdcanvas.redraw, 0); //send a redraw to timeout

Remarks

In order to update the screen view a redraw need to be called.

See Also