Software Developer's Kit - ChemDraw

Send comments on this topic
AltGroups Property
See Also 


Member of ChemDraw Control.Document.

Returns the collection of AltGroups in the document.

Property type

Read-only property


Visual Basic
Public Property AltGroups() As AltGroups

Return Type


 Private Sub cmdCommand_Click()  
     Dim myDocument As ChemDrawControl11Ctl.Document 
     Set myDocument = ctlChemDraw.ActiveDocument
    'returns the collection from the document
     cmdCommand.Caption = myDocument.AltGroups.Count
 End Sub

See Also