Software Developer's Kit - ChemDraw

Send comments on this topic
EnhancedStereoGroupNumber Property
See Also 

Description

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

Syntax

Visual Basic
Public Property EnhancedStereoGroupNumber() As Long

Return Type

Long

Remarks

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

Example

'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