Software Developer's Kit - ChemDraw

Send comments on this topic
EnhancedStereoGroupNumber Property
See Also 


Member of ChemDraw Control.Atom.

Sets and returns the group number associated with Or and And enhanced stereochemistry types, of the atom.

Property type

Read-write property


Visual Basic
Public Property EnhancedStereoGroupNumber() As Long

Return Type



This function returns the group number (associated with Or and And enhanced stereochemistry types) of the atom.


'Declares a variable vAtom as an atom class
 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 cmdEnhancedStereoGroupNumber_Click() 
     myAtom.EnhancedStereoGroupNumber = val(text1.text) 
     Text2.text = myAtom.EnhancedStereoGroupNumber  
 End Sub

See Also