Software Developer's Kit - ChemDraw

Send comments on this topic
ReactionSchemes Property
See Also 

Description

Member of ChemDrawControl.Objects.

Returns the reaction schemes from the collection of objects

Property type

Read-only property

Syntax

Visual Basic
Public Property ReactionSchemes() As ReactionSchemes

Return Type

Example

'Shows ReactionSchemes   
 Private Sub cmdShowNumberOfReactionSchemes_Click() 
     Dim myReactionScheme1 as ChemDrawControl10Ctl.ReactionScheme
     Dim myReactionScheme2 as ChemDrawControl10Ctl.ReactionScheme 
    'Checks if at least two ReactionSchemes have been drawn
     If ctlChemDraw.Objects.ReactionSchemes.Count > 2 Then 
         Set MyReactionScheme1 = ChemDrawControlCtl.Objects.ReactionSchemes.Item(1)
         Set MyReactionScheme2 = ChemDrawControlCtl.Objects.ReactionSchemes.Item(2)
     End If
 End Sub

See Also