History Members

The History type exposes the following members.

Methods

Name Description
Public method addCommand
Public method addLayerAdded

Adds the LayerAddedCommand command to the history.

Public method addLayerMoved

Adds the LayerMovedCommand command to the history.

Public method addLayerRemoved

Adds the LayerRemovedCommand command to the history.

Public method addVObjectAdded

Adds the VObjectAddedCommand command to the history.

Public method addVObjectChanged

Adds the VObjectChangedCommand command to the history.

Public method addVObjectMoved

Adds the VObjectMovedCommand command to the history.

Public method addVObjectRemoved

Adds the VObjectRemovedCommand command to the history.

Public method clear

Discards the redo and undo history.

Public method clearRedo

Discards the redo history.

Public method clearUndo

Discards the undo history.

Public method endVObjectGroupCommand
Public method lockHistory
Public method pauseTracking
Public method redo

Redoes the last made change.

Public method resumeTracking
Public method startVObjectGroupCommand
Public method undo

Undoes the last made change.

Fields

Name Description
Public field vObjectAddedFactMethod
Public field vObjectChangedFactMethod
Public field vObjectMovedFactMethod
Public field vObjectRemovedFactMethod

Properties

Name Description
Public property canRedo

Gets the value indicating if the last action can be redone.

Public property canUndo

Gets the value indicating if the last action can be undone.

Public property enable

Gets or sets the value indicating if the undo/redo functionality is enabled.

Public property events

Returns a list of client events of this history.

Public property maxUndoStepCount

Gets or sets a maximum number of available undo steps.

Public property overflowMaxUndoStepCount
Public property trackingEnabled

Gets or sets the value indicating if the tracking commands functionality is enabled.

Events

Name Description
Public event changed

Fires when the history is changed.

See Also

Reference