Saves the state of the path diagram. A subsequent Undo restores this state.
After UndoToHere, modifications to a path diagram that are normally undo-able, such as drawing or erasing an object, cannot be undone. To restore the ability to undo such modifications use the UndoResume method.
Typically, a program that modifies a path diagram begins with UndoToHere and ends with UndoResume. Then all modifications made by the program can be undone with one click of the Undo button .
Syntax
pd.UndoToHere ()
See Use the Amos Graphics classes to change the appearance of latent variables