Click or drag to resize

AnnotationUndoManager Methods

The AnnotationUndoManager type exposes the following members.

Methods
  NameDescription
Public methodAddUndo
Adds an undo to the collection.
Public methodCode exampleBeginUndoMerge
This method puts the AnnotationUndoManager into a collective undo state. All calls to AddUndo(AnnotationUndo) will be collected until the EndUndoMerge(String) method has been called.
Public methodClear
Clears the undo and redo collections.
Public methodCode exampleEndUndoMerge
Exits the collective undo state and stores all actions added since the BeginUndoMerge call as a single undo operation.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRedoDescriptions
Returns a string array of the descriptions in the order which they would be redone. This is useful for displaying a list of items to redo. For displaying only the latest redo description use the RedoDescription method.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUndoDescriptions
Returns a string array of the descriptions in the order which they would be undone. This is useful for displaying a list of items to undo. For displaying only the latest undo description use the UndoDescription method.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRedo
Performs a redo on the collection and raises the RedoRequest event with the AnnotationUndo that was processed.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUndo
Performs an undo on the collection and raises the UndoRequest event with the AnnotationUndo that was processed.
Top
See Also