Software Developer's Kit - ChemDraw

Send comments on this topic
Settings Property
See Also 

Description

Member of ChemDrawControl.Objects.

Returns the settings of the objects in the collection

Property type

Read-only property

Syntax

Visual Basic
Public Property Settings() As Settings

Return Type

Example

'Settings   
 Private Sub cmdShowNumberOfSettings_Click() 
     Dim mySettings1 as ChemDrawControl10Ctl.Settings
     Dim mySettings2 as ChemDrawControl10Ctl.Settings 
    'Checks --
     If ctlChemDraw.Objects.Settings.Count > 2 Then 
         Set MySettings1.BondLength = ChemDrawControlCtl.Objects.Settings.BondLength
         Set MySettings2.BoldWidth  = ChemDrawControlCtl.Objects.Settings.BoldWidth
     End If
 End Sub

See Also