Software Developer's Kit - ChemDraw

Send comments on this topic
IsLine Property
See Also 


Member of ChemDraw Control.Arrow

Sets and returns whether this arrow is a line, without an arrow head.

Property type

Read-only property


Visual Basic
Public Property IsLine() As Boolean

Return Type



This property will only return True if the arrow is a line i.e. straight arrow without a head.

The properties will be set the following way:

AngularSize = 0  i.e. straight arrow

ArrowHeadPositionStart = kCDArrowHeadPositionNone

ArrowHeadPositionTail  = kCDArroHeadPositionNone


'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 cmdIsLine_click()
    'Returns a value of True or False for the IsLine property
     Text1.text = vArrow.IsLine
 End Sub

See Also