VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging Namespace / WebUndoManagerJS type / addAction Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
addAction Method
In This Topic
Adds information about change in object to the history.
Syntax
var instance = new Vintasoft.Imaging.WebUndoManagerJS();

var value; // Type: any

// Parameters
var undoAction; // Type: object
var previousState; // Type: object

value = instance.addAction(undoAction, previousState);

Parameters

undoAction
Undo action that determines change in object.
previousState
Previous object state.
Exceptions
ExceptionDescription
Thrown if UndoAction parameter is null.
Browser Compatibility
56+
45+
11
See Also