Software Developer's Kit - ChemDraw

Send comments on this topic
LinkCountHigh Property
See Also 

Description

Member of ChemDraw Control.Atom.

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

Property type

Read-write property

Syntax

Visual Basic
Public Property LinkCountHigh() As Long

Return Type

Long

Remarks

High end of repeat count for link nodes.  If this property is absent then the LinkCountHigh 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 cmdLinkCountHigh_Click() 
     myAtom.LinkCountHigh = val(text1.text) 
     Text2.text = myAtom.LinkCountHigh  
 End Sub

See Also