Software Developer's Kit - ChemDraw

Send comments on this topic
MakeAtom Method
See Also 

Description

Member of ChemDraw Control.Document.

Creates a new atom in the document

Syntax

Visual Basic
Public Function MakeAtom() As Atom

Return Type

Example

'Declares variables 
 Dim myDocument As
ChemDrawControl11Ctl.Document 
 Private Sub cmdCommand_Click()
     
Set MyAtom = myDocument.MakeAtom
     myAtom.selected = True  
     ctlChemDraw.Zoom 1000
 End Sub

See Also