Previous Document Next Document

Object Model Reference : Classes : D : Document : Methods : Document.Undo


Document.Undo

Sub Undo([Levels As Long])

Description

Member of Document

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

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

VBA example

The following VBA 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 2013 Corel Corporation. All rights reserved.