ImageEn, unit ievect

TImageEnVect.ObjCanUndo

TImageEnVect.ObjCanUndo

Declaration

property ObjCanUndo: Boolean;

Description

Returns True when the Undo stack contains at least one group of objects.

ObjAllClearUndo (or ObjClearUndo if there is only one group of objects) sets ObjCanUndo to False.

Note: If you are using ObjUndoMode = ieumShared to share object and image undo, do not use ObjCanUndo. Use CanUndo instead.

Example

// Enable object undo
ImageEnVect1.ObjCanUndo := True;

Transition Information

If you are transitioning your code to TImageEnView Layers, instead of ObjCanUndo, use: TImageEnProc.CanUndo
b := ImageEnView1.Proc.CanUndo;

See Also

ObjUndoMode