Software Developer's Kit - ChemDraw

Send comments on this topic
Preferences Property
See Also 

Description

Member of ChemDraw Control.Application.

Returns the preferences of the application

Property type

Read-only property

Syntax

Visual Basic
Public Property Preferences() As Preferences

Return Type

Remarks

Returns the preferences object associated with this application.

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