ImageEn, unit imageenproc

TImageEnProc.AutoUndo

TImageEnProc.AutoUndo


Declaration


property AutoUndo: Boolean;


Description


When true, all image processing and load operations will automatically call SaveUndo and ClearAllRedo.

Default: True

 


Example


This code:

ImageEnView1.Proc.AutoUndo := true;
ImageEnView1.Proc.Negative;
ImageEnView1.Proc.ConvertToGray;

Is equivalent to:

ImageEnView1.Proc.AutoUndo := false;
ImageEnView1.Proc.SaveUndo;
ImageEnView1.Proc.Negative;
ImageEnView1.Proc.SaveUndo;
ImageEnView1.Proc.ConvertToGray;
ImageEnView1.Proc.ClearAllRedo;


See Also


  SaveUndo
  UndoLimit
  Undo
  ClearAllRedo