Member of ChemDraw Control.Atom.
Sets and returns whether there is an abnormal valence restriction, or not, on the atom.
Public Property AbnormalValenceAllowed() As Boolean
The abnormal valence property specifies whether selected atoms can have a valence other than normal. This attribute, when true, indicates that valence checks should be bypassed for this atom, and that the valence should be computed from the atoms actually drawn. The definition of what valence is normal may vary from application to application, so CDX files must contain explicit information about what was drawn or computed, vs. what was inferred.
- Not Allowed: Default. Finds compounds where the selected atoms only have valences that are normal for that element. If necessary, hydrogen atoms are automatically added to or removed from the atom before transferring it to the chemical database. If the Check Structure When Copying to Clipboard or Exporting preference is turned on, an error message warns of abnormal valences.
- Allowed: Finds compounds with the specific valence drawn.
'Declares variable vAtom
Private Sub cmdAbnormalValenceAllowed_Click()