Software Developer's Kit - ChemDraw

Send comments on this topic
AutoSave Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns the flag to indicate whether modified documents will be saved automatically.

Property type

Read-write property

Syntax

Visual Basic
Public Property AutoSave() As Boolean

Return Type

Boolean

Remarks

Sets and returns whether modified documents will be saved automatically or not.

Example

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

See Also