Software Developer's Kit - ChemDraw

Send comments on this topic
Symbols Property
See Also 

Description

Member of ChemDrawControl.Objects.

Returns the symbols from the objects in the collection

Property type

Read-only property

Syntax

Visual Basic
Public Property Symbols() As Symbols

Return Type

Example

'Shows Symbols   
 Private Sub cmdShowNumberOfSymbols_Click() 
     Dim mySymbol1 as ChemDrawControl10Ctl.Symbol
     Dim mySymbol2 as ChemDrawControl10Ctl.Symbol 
    'Checks if at least two Symbols have been drawn
     If ctlChemDraw.Objects.Symbols.Count > 2 Then 
         Set MySymbol1 = ChemDrawControlCtl.Objects.Symbols.Item(1)
         Set MySymbol2 = ChemDrawControlCtl.Objects.Symbols.Item(2)
     End If
 End Sub

See Also