Software Developer's Kit - ChemDraw

Send comments on this topic
LinkCountLow Property
See Also 

Description

Member of ChemDraw Control.Atom.

Sets and returns the low end of the atom link count range, for link nodes. 

Property type

Read-write property

Syntax

Visual Basic
Public Property LinkCountLow() As Long

Return Type

Long

Remarks

Low end of repeat count for link nodes.  If this property is absent then the LinkCountLow is assumed to be 1.

Example

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

See Also