This documentation is for the old version. Go to the latest Graphics Mill docs

History Members

The History type exposes the following members.

Methods

Name Description
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 redo

Redoes the last made change.

Public method undo

Undoes the last made change.

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 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