Software Developer's Kit - ChemDraw

Send comments on this topic
Splines Property
See Also 

Description

Member of ChemDraw Control.Document.

Returns the splines collection in the document.

Property type

Read-only property

Syntax

Visual Basic
Public Property Splines() As Splines

Return Type

Example

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

See Also