Software Developer's Kit - ChemDraw

Send comments on this topic
AutoSaveMinutes Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns the time interval at which modified documents are saved.

Property type

Read-write property

Syntax

Visual Basic
Public Property AutoSaveMinutes() As Long

Return Type

Long

Remarks

Sets and returns the time interval, in minutes, at which modified documents are saved (if they are set to be saved automatically).

Example

'Modifies a value of preferences 
 Private Sub cmdApplication_click()
     ctlChemDraw.ActiveDocument.Activate
     Dim myApp As ChemDrawControl11Ctl.Application
     Set myApp = ctlChemDraw.Application
     myApp.Preferences.AutoSaveMinutes = 10
 End Sub

See Also