Software Developer's Kit - ChemDraw

Send comments on this topic
MakeGroup Method
See Also 

Description

Member of ChemDraw Control.Document.

Creates a new group in the document

Syntax

Visual Basic
Public Function MakeGroup() As Group

Return Type

Example

'Declares variables 
 Dim myDocument As
ChemDrawControl11Ctl.Document 
 Private Sub cmdCommand_Click()
      Set MyGroup = myDocument.MakeGroup 
      myGroup.selected = True  
     'group is an unseen object
 End Sub

See Also