Software Developer's Kit - ChemDraw

Send comments on this topic
IsWavy Property
See Also 

Description

Member of ChemDraw Control.Arrow

Sets and returns whether this arrow is wavy.

Property type

Read-write property

Syntax

Visual Basic
Public Property IsWavy() As Boolean

Return Type

Boolean

Remarks

To set the arrow as wavy, IsLine must be True.

The arrow property IsLine implies the following:
IsStraightArrow = True   (which equals IsArc = False)
ArrowHeadPositionStart = kCDArrowHeadPositionNone
ArrowHeadPositionTail = kCDArrowHeadPositionNone

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 cmdIsWavy_click()
    'Returns and sets the Is Wavy property
     Text1.text = vArrow.IsWavy

     vArrow.IsWavy = TRUE
 End Sub 

  

See Also