ASP.NET Pack Programmer's Guide
Diagram.setUndoEnabled Method
See Also
 





Sets a value indicating whether saving action records for later undo is enabled.

Namespace: MindFusion.Diagramming
Package: Diagram.js

 Syntax

JavaScript  Copy Code

function setUndoEnabled (value)

 Parameters

value
true to save actions for later undo; otherwise false. The default is false.

 Remarks

To undo the last recorded action, call the undo method. It can be redone again by calling redo. Custom operations can be integrated into the JsDiagram's undo/redo system by deriving from the Command class and running the operations by means of the executeCommand method.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
startCompositeOperation Method