Software Developer's Kit - ChemDraw

Send comments on this topic
ReactionStereo Property
See Also 

Description

Member of ChemDraw Control.Atom.

Sets and returns the reaction stereo restriction on this atom

Property type

Read-write property

Syntax

Visual Basic
Public Property ReactionStereo() As CDReactionStereo

Return Type

Remarks

The ReactionStereo property specifies that the selected atoms are stereocenters in a reaction.  This property is only meaningful when searching a database containing chemical reactions. Reaction stereo can be: Unspecified, StereoInversion or 
StereoRetention.

Example

'Declares variables
 Dim myAtom As ChemDrawControl10Ctl.Atom
'Checks that there is an atom loaded in the variable
 If  Selection.Atoms.Count < 1 Then
     Exit Sub
 End If

'Reads and sets this property
 Private Sub cmdReactionStereo_Click() 
     myAtom.ReactionStereo = val(text1.text) 
     Text2.text = myAtom.ReactionStereo  
 End Sub

See Also