Software Developer's Kit - ChemDraw

Send comments on this topic
IsMultiCenter Property
See Also 

Description

Member of ChemDraw Control.Atom.

Sets and returns whether the atom is an multicenter attachment point. 

Property type

Read-write property

Syntax

Visual Basic
Public Property IsMultiCenter() As Boolean

Return Type

Boolean

Remarks

This property returns true if the atom is an multicenter attachment point, else returns false. It refers to a pseudo atom that is disregarded during chemical calculations, but still allows you to create diagrams that look meaningful to an experienced chemist. When highlighted, the atom drawing is shown as a star.

Example

'Declares variables
 Dim vAtom  As ChemDrawControl10Ctl.Atom 
'Checks that there is an atom loaded in the variable
 If  Selection.Atoms.Count < 1 Then
     Exit Sub
 End If

'Returns True/False with this property 
 If  vAtom.IsMultiCenter = True then
         Text1.Text = "Atom is IsMultiCenter"
     Else
         Text1.Text = "Atom is not IsMultiCenter"
     End If
 End Sub 

See Also