Software Developer's Kit - ChemDraw

Send comments on this topic
MakeSymbol Method
See Also 
type

Description

Member of ChemDrawCtl.

Creates a new symbol in the ChemDraw control.

Syntax

Visual Basic
Public Function MakeSymbol( _
   ByVal type As CDSymbolType _
) As Symbol

Parameters

type
ValueDescription
kCDSymbolTypeLonePair indicates a lone pair of electrons
kCDSymbolTypeElectron indicates a single non bonded electron (used on radicals)
kCDSymbolTypeRadicalCation indicates a positive charge (used on radicals)
kCDSymbolTypeRadicalAnion indicates a negative charge (used on radicals)
kCDSymbolTypeCirclePlus positive charge (used on structures)
kCDSymbolTypeCircleMinus negative charge (used on structures)
kCDSymbolTypeDaggerdagger
kCDSymbolTypeDoubleDagger double dagger
kCDSymbolTypePlus positive charge (used on structures)
kCDSymbolTypeMinus negative charge (used on structures)
kCDSymbolTypeRacemic stereochemical flag indicates a mixture of the exact stereoisomer as drawn and its enantiomer (and)
kCDSymbolTypeAbsolute stereochemical flag indicates the exact stereoisomer as drawn
kCDSymbolTypeRelativestereochemical flag indicates the exact stereoisomer as drawn or its enantiomer (or)

Return Type

Example

Dim mySymbol As ChemDrawControl11Ctl.Symbol
Private Sub makeObject_Click()
    ctlChemDraw.MakeSymbol kCDSymbolTypeCirclePlus 
    mySymbol.selected = True
End Sub

See Also