ImageEn, unit ievect

TImageEnVect.ObjUndoAt

TImageEnVect.ObjUndoAt


Declaration

procedure ObjUndoAt(Position: integer);


Description

Restores the image (group of objects) at the specified position in the Undo stack.
Position: 0=last saved undo; 1=second to last saved undo; 2... up to UndoCount-1

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


Transition Information

If you are transitioning your code to TImageEnView Layers, instead of ObjUndoAt, use: TImageEnProc.UndoAt

ImageEnView1.Proc.UndoAt( 2 );