Click or drag to resize

UndoManager Class

Undo-redo interface; one-to-one mapped to document
Inheritance Hierarchy
SystemObject
  pdftron.SDFUndoManager

Namespace:  pdftron.SDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public sealed class UndoManager : IClosable

The UndoManager type exposes the following members.

Methods
  NameDescription
Public methodCanRedo
Returns a boolean indicating whether it is possible to redo from the current snapshot.
Public methodCanUndo
Returns whether it is possible to undo from the current snapshot.
Public methodClose
Public methodDiscardAllSnapshots
Forget all changes in this manager (without changing the document).
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetNextRedoSnapshot
Gets the next state of the document. This state may be invalid if it is impossible to redo.
Public methodGetNextUndoSnapshot
Gets the previous state of the document. This state may be invalid if it is impossible to undo.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRedo
Restores to the next snapshot, if there is one.
Public methodTakeSnapshot
Creates a snapshot of document state, transitions to the new snapshot.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUndo
Restores to the previous snapshot point, if there is one.
Top
See Also