VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging Namespace / WebCompositeUndoManagerJS 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.WebCompositeUndoManagerJS();
    
    var value; // Type: any
    
    // Parameters
    var undoAction; // Type: object
    var previousState; // Type: object
    
    value = instance.addAction(undoAction, previousState);
    
    
    function addAction(
    undoAction
    Undo action that determines change in object.
    : object,
    previousState
    Previous object state.
    : object
    ) : any;

    Parameters

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