Previous Document Next Document
Document.Undo

Sub Undo([Levels As Long])

Member of Document

The Undo method reverses the last operation performed in the active document.

Parameters
Description
Levels
This parameter is optional, and its default value is 0.

The following code example reverses the last operation in the active document.

Sub Reverse() 
 ActiveDocument.ActiveLayer.CreateArtisticText 0, 0, "Text" 
 ActiveDocument.Undo 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.