Click or drag to resize

McUndoStack Interface

An object implementing the Undo-Redo manager, in order to be able to Undo and/or Redo operations

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Public Interface McUndoStack
	Inherits IMcUndoStack
Remarks
When this object is attached to an image (McImage.UndoStack), the context (ordering and stored information) is relative to the image. It uses an Undo and a Redo stack, internally to store the history of states of the undoables Push saves a state in the Undo stack Undo saves the undoable in the Redo stack, update the undoable with the top of the Undo stack, and drops the top of the Undo stack (similar, but reverse for Redo) The property MaxSize defines the maximum number of states held by both the Undo and the Redo stack CanUndo and CanRedo, respectively test the presence of states in the Undo and Redo stack. The Undo-Redo manager can be set to an insensitive mode, where all functions (except read-only properties) return without doing anything. A set of read-only properties gives access to all the attributes of the top state of the Undo stack, and the top state of the Redo stack.
See Also