AnnUndoEnable example for Delphi
//This example toggles the Undo feature LEADAnn1.AnnUndoEnable:= Not LEADAnn1.AnnUndoEnable;