Software Developer's Kit - ChemDraw

Send comments on this topic
Products Property
See Also 

Description

Member of ChemDraw Control.ReactionScheme.

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

Property type

Read-only property

Syntax

Visual Basic
Public Property Products() As ReactionStepComponents

Return Type

Example

'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