Search
CommandHistory.setCapacity Method
See Also
 

Sets the maximum number of commands that can be saved in the undo history.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void setCapacity (
    int value
)

 Parameters

value

An integer value specifying how much commands can be saved in the undo/redo history before dropping the oldest command.

 See Also