Software Developer's Kit - ChemDraw

Send comments on this topic
Spacing Property
See Also 

Description

Member of ChemDraw Control.Spline.

Sets and returns the width of the space between doubled splines.

Property type

Read-write property

Syntax

Visual Basic
Public Property Spacing() As Double

Return Type

Double

Remarks

Sets and returns the width of the space between doubled splines

Example

Private Sub ctlChemDraw_SelectionChanged(ByVal selection _
        As ChemDrawControl10Ctl.IChemDrawSelection)
    If  selection.Splines.Count = 1 Then
        Set MySpline = ctlChemDraw.selection.Objects.Splines.Item(1)
        Label1.Caption = "Object: Spline"
    End If
End Sub

Private Sub cmdSpacing_Click()
    mySpline.Spacing = Val(txtLoad.Text)
End Sub

See Also