Software Developer's Kit - ChemDraw

Send comments on this topic
IsDashed Property
See Also 

Description

Member of ChemDraw Control.Spline.

Sets and returns whether the spline arrow head is dashed or not.

Property type

Read-write property

Syntax

Visual Basic
Public Property IsDashed() As Boolean

Return Type

Boolean

Remarks

This property returns True when CDLineType = kCDLineTypeDashed

Otherwise, returns False.

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 cmdIsDashed_Click()
    If  MySpline.IsDashed = False Then
        MySpline.IsDashed = True
    Else
        MySpline.IsDashed = False
    End If
End Sub

See Also