Software Developer's Kit - ChemDraw

Send comments on this topic
ChemDrawItemsDirectory Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns the directory used to find supplementary files such as the Isotopes Table and various templates and stationery pads.

Property type

Read-write property

Syntax

Visual Basic
Public Property ChemDrawItemsDirectory() As String

Return Type

String

Remarks

Sets and returns the directory used to find supplementary files such as the Isotopes Table and various templates and stationery pads.

Example

'Modifies a value of preferences 
 Private Sub cmdApplication_click()
     ctlChemDraw.ActiveDocument.Activate
     Dim myApp As ChemDrawControl11Ctl.Application
     Set myApp = ctlChemDraw.Application
     myApp.Preferences.ChemDrawItemsDirectory = "\directory\table"
 End Sub

See Also