Software Developer's Kit - ChemDraw

Send comments on this topic
Undo Method
See Also 

Description

Member of ChemDraw Control.Document.

Undo the last change made to a file.

Syntax

Visual Basic
Public Sub Undo() 

Remarks

Undo the last change made to a file.

Example

'Declares variables 
 Dim myDocument As
ChemDrawControl11Ctl.Document 
 Set myDocument = ctlChemDraw.ActiveDocument

 Private Sub cmdRedo_Click()
     myDocument.Redo
 End Sub  

 Private Sub cmdUndo_Click()
     myDocument.undo
 End Sub

See Also