VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Undo Namespace / UndoManager Class / AddAction Methods / AddAction(UndoAction) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    AddAction(UndoAction) Method (UndoManager)
    In This Topic
    Adds the action, which allows to restore the object state in the action.
    Syntax
    'Declaration
    
    Public Overloads Overridable Sub AddAction( _
    ByVal undoAction
    The undo action that defines change in object.
    As UndoAction _
    )
    public virtual void AddAction(
    UndoAction undoAction
    )
    public: virtual void AddAction(
    UndoAction* undoAction
    )
    public:
    virtual void AddAction(
    UndoAction^ undoAction
    )

    Parameters

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

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

    See Also