Object Model Reference : Classes : D : Document : Methods : Document.Undo |
Sub Undo([Levels As Long])
Member of Document
The Undo method reverses the last operation performed in the active document.
The following VBA example reverses the last operation in the active document.
Sub Reverse() |
ActiveDocument.ActiveLayer.CreateArtisticText 0, 0, "Text" |
ActiveDocument.Undo |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.