Software Developer's Kit - ChemDraw

Send comments on this topic
MakeSpline Method
See Also 

Description

Member of ChemDraw Control.Document.

Creates a new spline in the document

Syntax

Visual Basic
Public Function MakeSpline() As Spline

Return Type

Example

'Declares variables 
 Dim myDocument As
ChemDrawControl11Ctl.Document 
 Private Sub cmdCommand_Click()
     
Set MySpline = myDocument.MakeSpline
     mySpline.selected = True 
     ctlChemDraw.Zoom 1000
 End Sub

See Also