Software Developer's Kit - ChemDraw

Send comments on this topic
Reactants Property
See Also 


Member of ChemDraw Control.ReactionScheme.

Returns the objects that act as reactants relative to the entire reaction scheme.

Property type

Read-only property


Visual Basic
Public Property Reactants() As ReactionStepComponents

Return Type


'This example returns data from a reaction scheme
 Dim myReactionScheme as ChemDrawControl10Ctl.ReactionScheme
 Set myReactionScheme = ChemDrawControl10Ctl.ReactionSchemes.Item(1)

 Private Sub cmdCommand_Click()
     Text1.text = myReactionScheme.Arrows.Count
     Text2.text = myReactionScheme.IntermediatesCount 
     Text3.text = myReactionScheme.Plusses.Count
     Text4.text = myReactionScheme.Products.Count
     Text5.text = myReactionScheme.Reactants.Count
     Text6.text = myReactionScheme.ReactionSchemeType
     Text7.text = myReactionScheme.ReactionSteps.Count
 End Sub

See Also