Software Developer's Kit - ChemDraw

Send comments on this topic
IsArc Property
See Also 

Description

Member of ChemDraw Control.Arrow

Returns whether this arrow is an arc or not.

Property type

Read-only property

Syntax

Visual Basic
Public Property IsArc() As Boolean

Return Type

Boolean

Remarks

For a straight arrow this property will be False (IsStraightArrow will be True).

For a curved arrow this property will be True (IsStraightArrow will be 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 cmdIsArc_click()
    'Only returns value True or False
     Text1.text = vArrow.IsArc
 End Sub
 

 

See Also