Software Developer's Kit - ChemDraw

Send comments on this topic
Unsaturation Property
See Also 


Member of ChemDraw Control.Atom.

Sets and returns the unsaturation restriction on this atom

Property type

Read-write property


Visual Basic
Public Property Unsaturation() As CDUnsaturation

Return Type


The unsaturation property specifies whether a multiple bond is attached to the selected atoms. 


'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 cmdUnsaturation_Click() 
      myAtom.Unsaturation = val(text1.text) 
      Text2.text = myAtom.Unsaturation  
 End Sub

See Also