Software Developer's Kit - ChemDraw

Send comments on this topic
Splines Property
See Also 


Member of ChemDrawControl.Objects.

Returns the splines from the objects in the collection

Property type

Read-only property


Visual Basic
Public Property Splines() As Splines

Return Type


'Shows Splines   
 Private Sub cmdShowNumberOfSplines_Click() 
     Dim mySpline1 as ChemDrawControl10Ctl.Spline
     Dim mySpline2 as ChemDrawControl10Ctl.Spline 
    'Checks if at least two Splines have been drawn
     If ctlChemDraw.Objects.Splines.Count > 2 Then 
         Set MySpline1 = ChemDrawControlCtl.Objects.Splines.Item(1)
         Set MySpline2 = ChemDrawControlCtl.Objects.Splines.Item(2)
     End If
 End Sub

See Also