Software Developer's Kit - ChemDraw

Send comments on this topic
Symbols Property
See Also 

Description

Member of ChemDraw Control.selection

Returns the symbols that are selected

Property type

Read-only property

Syntax

Visual Basic
Public Property Symbols() As Symbols

Return Type

Remarks

Returns the symbols collection in the selection.

Example

'Uses an object from the selection  
 Private Sub 
cmdCommand_Click()
     If  Selection.Symbols.Count < 1 Then
         Exit Sub
     End If    
     Set mySymbol = selection.Symbols.Item(1)
 End Sub 

See Also