Software Developer's Kit - ChemDraw

Send comments on this topic
IsDashed Property
See Also 

Description

Member of ChemDraw Control.Arrow

Sets and returns whether this arrow is dashed.

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

'Declares variable vArrow
 Dim vArrow As ChemDrawControl10Ctl.Arrow
'Checks that there is an arrow loaded in the variable

 If  Selection.Arrows.Count < 1 Then
     Exit Sub
 End If

 Private Sub cmdIsDashed_click()
   'Returns and sets a value of True or False for IsDashed
    Text1.text = vArrow.IsDashed

    vArrow.IsDashed = TRUE
 End Sub 
 

See Also