VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Undo Namespace / CompositeUndoManager Class / AddAction Methods / AddAction(UndoAction,ICloneable) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
AddAction(UndoAction,ICloneable) Method (CompositeUndoManager)
In This Topic
Adds information about change in object to the history.
Syntax
'Declaration

Public Overloads Overrides Sub AddAction( _
ByVal undoAction
The undo action that defines change in object.
As UndoAction, _
ByVal previousState
Previous object state.
As System.ICloneable _
)
public override void AddAction(
UndoAction undoAction,
System.ICloneable previousState
)

Parameters

undoAction
The undo action that defines change in object.
previousState
Previous object state.
Exceptions
ExceptionDescription
Thrown if undoAction is null.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also