Software Developer's Kit - ChemDraw

Send comments on this topic
SBO Property
See Also 

Description

Member of ChemDraw Control.Atom.

Sets and returns the sum of the bond orders (SBO) on this atom.

Property type

Read-only property

Syntax

Visual Basic
Public Property SBO() As Long

Return Type

Long

Remarks

Returns the sum of bond orders on this atom.

Example

'Declares variables
 Dim vAtom As ChemDrawControl10Ctl.Atom 
 Private Sub ctlChemDraw_SelectionChanged(ByVal selection As _

     ChemDrawControl10Ctl.IChemDrawSelection)
    'Checks that there is an atom loaded in the variable
     If  Selection.Atoms.Count < 1 Then
         Exit Sub
     End If
 End Sub

'SBO - sum of bond orders
 Private Sub cmdLoad_Click()
     Text1.Text = vAtom.SBO

 End Sub

See Also