Click or drag to resize

CachedImageUndoManager Class

This class is used to provide the undo and redo features in DocumentViewer.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.WinControlsCachedImageUndoManager
    Atalasoft.Annotate.UICachedImageAnnotationUndoManager

Namespace:  Atalasoft.Imaging.WinControls
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class CachedImageUndoManager : IDisposable

The CachedImageUndoManager type exposes the following members.

Constructors
  NameDescription
Public methodCachedImageUndoManager
Creates a new instance of CachedImageUndoManager.
Top
Properties
  NameDescription
Public propertyRedoCount
Gets the number of redo items.
Public propertyUndoCount
Gets the number of undo items.
Public propertyUndoLevels
Gets or sets the maximum number of undo items to hold at any one time.
Top
Methods
  NameDescription
Public methodAddUndo
Adds a new undo state to the manager.
Public methodClear
Clears all undo and redo items.
Public methodDispose
Releases all resources used by the CachedImageUndoManager.
Protected methodDispose(Boolean)
Called from the Dispose and finalizer to release all resources for the CachedImageUndoManager.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetRedoCount
Called to get the number of redo items.
Public methodGetRedoDescriptions
Called to get an array of redo descriptions.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetUndoCount
Called to get the number of undo items.
Public methodGetUndoDescriptions
Called to get an array of undo descriptions.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAddUndo
Called to add a new undo item.
Protected methodOnClear
Called to clear the undo and redo items.
Protected methodOnGetRedoDescriptions
Called to get an array of redo descriptions.
Protected methodOnGetUndoDescriptions
Called to get an array of undo descriptions.
Protected methodOnRedo
Called to perform a redo operation.
Protected methodOnRedoPerformed
Called after a redo has been performed and raises the RedoPerformed event.
Protected methodOnUndo
Called to perform an undo operation.
Protected methodOnUndoLevelsChanged
Called when the UndoLevels property has been changed.
Protected methodOnUndoListChanged
Called when the undo/redo lists have changed and raises the UndoListChanged event.
Protected methodOnUndoPerformed
Called after an undo operation has been performed and raises the UndoPerformed event.
Public methodRedo
Performs a redo operation and returns the resulting image.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUndo
Performs an undo operation and returns the resulting image.
Top
Events
  NameDescription
Public eventRedoPerformed
Raised when a redo operation has been performed.
Public eventUndoListChanged
Raised when the undo/redo lists have changed.
Public eventUndoPerformed
Raised when an undo operation has been performed.
Top
See Also