Software Developer's Kit - ChemDraw

Send comments on this topic
IsRadical Property
See Also 

Description

Member of ChemDraw Control.Symbol.

Returns whether the symbol represents a radical or not.

Property type

Read-only property

Syntax

Visual Basic
Public Property IsRadical() As Boolean

Return Type

Boolean

Remarks

This property indicates whether the symbol indicates a radical or not.

Example

Private Sub ctlChemDraw_SelectionChanged(ByVal selection _
        As ChemDrawControl10Ctl.IChemDrawSelection)
    If  selection.Symbols.Count = 1 Then
        Set MySymbol = ctlChemDraw.selection.Objects.Symbols.Item(1)
        Label1.Caption = "Object: Symbol"
    End If
End Sub

Private Sub Command1_Click()
    If  MySymbol.IsRadical = True Then
        MySymbol.IsRadical = False
    Else
        MySymbol.IsRadical = True
    End If
End Sub

See Also