Software Developer's Kit - ChemDraw

Send comments on this topic
AltGroups Property
See Also 

Description

Member of ChemDraw Control.selection

Returns the AltGroups that are selected

Property type

Read-only property

Syntax

Visual Basic
Public Property AltGroups() As AltGroups

Return Type

Remarks

Returns de AltGroups collection in the selection.

Example

'uses an object from the selection  
 Private Sub 
cmdCommand_Click()
      If  Selection.AltGroups.Count < 1 Then
          Exit Sub  
      End If
      Set myAltGroup = selection.AltGroups.item(1) 
 Exit Sub  

 

See Also