Software Developer's Kit - ChemDraw

Send comments on this topic
Splines Property
See Also 

Description

Member of ChemDraw Control.selection

Returns the splines that are selected

Property type

Read-only property

Syntax

Visual Basic
Public Property Splines() As Splines

Return Type

Remarks

Returns the splines collection in the selection.

Example

'Uses an object from the selection  
 Private Sub 
cmdCommand_Click()
     If  Selection.Splines.Count < 1 Then
         Exit Sub
     End If    
     Set mySpline = selection.Splines.Item(1)
 End Sub 

See Also