Software Developer's Kit - ChemDraw

Send comments on this topic
IsNoGo Property
See Also 

Description

Member of ChemDraw Control.Arrow

Returns whether this arrow is a no-go arrow.

Property type

Read-only property

Syntax

Visual Basic
Public Property IsNoGo() As Boolean

Return Type

Boolean

Remarks

A no-go arrow is a crossed or a hashed arrow. This property will return true if the arrow is a NoGo type. The size of the cross or the hash is directly proportional with HeadWidth.

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

See Also