GraffitiEditorHistory

Enumerations #

Name Values

This class exposes no enumerations.

Constants #

Name Type Value

This class exposes no constants.

Events #

Definition Parameters Return Type Description

This class exposes no events.

Methods #

Definition Parameters Return Type Description
CanRedo None Boolean Returns whether the current historical state of the Editor can perform a Redo operation.
CanUndo None Boolean Returns whether the current historical state of the Editor can perform an Undo operation.
Redo None None Step forward in the Editor’s history.
Reset None None Resets the Editor’s history, clearing the Undo/Redo stack.
Undo None None Step backward in the Editor’s history.

Properties #

Name Type Default Value Description

This class exposes no properties.

Examples #

Conditionally Perform an Undo #

Assuming a GraffitiEditor component named of GraffitiEditor1

If GraffitiEditor1.History.CanUndo Then
  GraffitiEditor1.History.Undo
End If

Notes #

This class currently has no notes.