VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.Undo Namespace / ImageViewerUndoMonitor Class / ImageViewerUndoMonitor Constructor(UndoManager,ImageViewer)
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    ImageViewerUndoMonitor Constructor(UndoManager,ImageViewer)
    In This Topic
    Initializes a new instance of the ImageViewerUndoMonitor class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal undoManager
    The undo manager.
    As UndoManager, _
    ByVal imageViewer
    The image viewer.
    As Vintasoft.Imaging.UI.ImageViewer _
    )

    Parameters

    undoManager
    The undo manager.
    imageViewer
    The image viewer.
    Exceptions
    ExceptionDescription
    Thrown if undoManager or imageViewer is null.
    Remarks

    This monitor will save undo history for all images in image viewer if undoManager is CompositeUndoManager; otherwise, this monitor will save undo history only for the focused image in image viewer.

    Requirements

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

    See Also