ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design Namespace / UndoManager Class / Clear Method

In This Topic
    Clear Method (UndoManager)
    In This Topic
    Clears the Undo stack.Clears the Redo stack.
    Syntax
    'Declaration
     
    Public Sub Clear() 
    public void Clear()
    Remarks
    This method clears all recorded operations from both the undo and redo stacks. It is useful when the state of the document changes in such a way that previous operations are no longer relevant or applicable. After clearing the history, the Changed event is raised to notify subscribers that the undo/redo history has been reset. Additionally, if any subscribers are registered to the Reset event, it is also raised to signal a complete reset of the undo/redo system.
    See Also