Click or drag to resize

IMcUndoStackMaxSize Property

Reflects and sets the maximum number of undo states kept.

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Property MaxSize As Integer
	Get
	Set

Property Value

Type: Int32
Remarks
When maximum capacity is reached, a Push operation will cause the disposal of the bottom of the Undo stack. If MaxSize is assigned a new value smaller than the current size of the undo or redo stack, they are trimmed to the new MaxSize by discarding the oldest pushed states.
Note Note
The smallest MaxSize allowed is zero. Setting MaxSize to zero will effectively disable all undo support, and it will result in the undo stack being emptied immediately (see Flush). Subsequent calls to Push, Undo or Redo will do nothing. If you set the Disabled property True, then calls to Push, Undo and Redo will also do nothing but they will leave the current stack contents unchanged. You might want to do this if you have done your own Push for some operation but then are calling other methods as part of that operation that do their own Push(es).
See Also